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>


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

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

    In this example the identifier uri URI is used.



  3. Assign a role to the App.

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

    In this example the built-in role of Owner and identifier url URL are used.



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

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


    The service principal can now be used with SoftNAS.

...