To configure SMAT web.config file, follow these steps:
-
Open the SMAT web.config file.
-
Navigate to azure portal and open the newly created web API page.
-
Copy the Application (client) ID and provide same in the id field as highlighted in the image in the web.config file.
-
Remove the values from secret and instance field (right next to id) and keep them empty. Add a new field audience and copy paste Application (client) ID value in that.
-
In Oauth issuer> requiredScopes, copy paste the Application (client) ID value .
-
On the app page, click Endpoints, and copy the Oauth authorization endpoint value before oauth 2 in the URl as highlighted in the image.
-
Provide the Oauth URL in the web.config file in the oauth issuer field, and save the file.