Dynamics 365 ERP - General
Category
Sep 20, 2024
Published date
Text
Article Type
AI Summary
- Ensure ClientId is defined in D365FO environment by going to System Administration
- Setup
- Azure Active Directory Applications.
- To obtain the clientId, sign in to https://portal.azure.com, go to App registrations, and select your application to find the ClientId.
- Obtain the client secret by clicking on your app, navigating to "Certificates & secrets," and retrieving the secret value, or contact your admin for the values.
- For more detailed information on App registration and obtaining these values, refer to the article at https://www.ljdynamicswritings.com/2024/02/how-to-create-app-registration-in-azure.html.
- Create a new collection in Postman by filling in the collection name and description, and then creating variables that will be filled later.
- Create a new request by filling in the request name and saving it, then filling the URL with the authentication link (https://login.microsoftonline.com/{{id}}/oauth2/token) and choosing POST.
- Use environments in Postman to save values for multiple environments, switch between them easily, and set global variables to avoid repeating values across environments.
- Add variables to the request by putting the variable names between brackets ({{variable}}) and hover over any variable to view its value.
Registered users can view the full text for FREE!
Sign In Now!