Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
  1. Create the App registration

    az ad app create --display-name <displayname> --homepage <home page url> --identifier-uris <Service Prinipal logon url> --password <Service Principal logon password>

...

 


  1. Create the Service Principal and link it to the app.


    az ad sp create --id <app id | identifier uri >

...

  1. In this example the identifier uri is used.

...

 

 

...


 


  1. Assign a role to the App.

    az role assignment create --role <subscription role> --assignee <app id | identifier uri>

 

  1. In this example the built-in role of Owner and identifier

...

  1. url are used.

  2. As an optional step login via the service principal can be validated.

 


  1. az login –service-principal -u <identifier uri> -p <password> -t <tenant id | domain>

...

 

...


  1. The service principal can now be used with SoftNAS