Unable to retrieve the Access Token from Azure AD while integrating Azure AD with Automation Cloud
- Make sure that all the steps from this document have been performed
- Make sure that the following scripts (Github) have been run:
- For configuring in Azure - configAzureADconnection.ps1
- For testing the connection - testAzureADappRegistration.ps1
One of the common mistakes seen in similar scenarios is accidentally passing the "Secret ID" instead of the "Secret Value". Make sure that is passing the correct parameter value (Please refer to step 13 here).
To confirm, are users able to log on normally to your Automation Cloud in general?
If the issue persists, follow the below steps and share the HAR trace with us for further analysis:
- Open Developer tools by launching the Chrome browser and clicking on the 3 dots in the right corner ---> More Tools ---> Developer Tools.
- Open Automation Cloud, replicate the issue by providing the details in the Authentication settings and clicking "Test Connection".
- Click on the red-circled part to generate a HAR file and attach that to this ticket.