Configuring a Service Principal via CLI

Configuring a Service Principal via CLI

Create the App registration using the following command:

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

Assign a role to the App using the following command:

In the example to the right, the built-in role of Owner and Identifier URL are used.

To verify, login via the service principal using the following command:

The service principal can now be used with SoftNAS.