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 RemovedImage 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 >


Image RemovedImage 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 RemovedImage 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 RemovedImage Added

  •  The service principal can now be used with SoftNAS.




Image RemovedImage Added