Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
  •  

    Create the App registration using the following command:

    Code Block
    themeEclipse
    az ad app create --display-name

...

  •  <display-name> --homepage <home page url> --identifier-uris <Service

...

  •  Principal logon url> --password <Service Principal logon password>

...


Image Added

  •  

    Create the Service Principal and link it to the app using the following command:

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

 

In this example the identifier uri is used.

 

 

...


Image Added

  •  

    Assign a role to the App using the following command:

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

...


Info

In

...

the example to the right, the built-in role

...

of Owner and Identifier URL are used.

...


Image Added

  •  

    To verify, login via the service principal

...

  • using the following command:

    Code Block
    themeEclipse
    az login –service-principal -u <identifier uri> -p <password> -t <tenant id | domain>

...


Image Added

  •  

...

  • The service principal can now be used with SoftNAS.

...




Image Added