
Dear Readers,
Let’s start with the respected topic.
First, create a new azure app.
Clicking on New registration.
After giving the name of the app.
Select a Single tenant.
Redirect URL Select public client native and added a URL.
After needing authentication.
Authentication > add a platform > web.
Added a redirect URL in configure Web and click on configure.
After needing an API Permissions.
API permissions > Add a permission > Microsoft Graph.
Select delegated permissions and added OpenID Permissions and user permission after clicking add permission.
Added an OpenID and User both permission Grant admin permission.
After needing to add a client secret.
Certificates & Secret > New client secret.
Client certificates Value is a client secret and needs to get auth token.
Application id is Client id and needs to get auth token.
After needing to endpoints token.
Overview > Endpoints > OAuth 2.0 token endpoint(v1).
After need, create one setup page and add all the required details.
Auth Client ID > Client ID [Azure App].
Client Secret > Client secret [Azure App].
Auth URL > Oauth 2.0 token endpoint(v1) [Azure App].
Auth Resource > Redirect URL [Azure App].
Auth Username > Login User ID [Azure Portal].
Password à Login User ID Password [ Azure Portal].
Then, need to create the below procedures in Al for getting auth token.
After creating a request procedure in AL as per the below Image.
Create one action in the customer list page and call a create request procedure pass request URI and getauthtoken in the parameter.
Output.
We hope this write up will help you to proceed further!
Stay connected with Madhda to learn More topics like this!
For more details, pls visit our website www.madhda.com or contact us on Contact@madhda.com
Thanks to all.
Madhda