Getting error in Flow Designer-Azure AD Integration

sattar3
Tera Contributor

Hello All,

 

We are getting error in flow designer, in that flow designer we performing Integration with Azure AD.

 

Error: Insufficient Permissions. Please Check Oauth Token and scope permission. 

 

Can someone please let me in what kind of scenario we get this type of error, is there any fix for this?

Please check the attache screenshot and help me on this.

 

sattar3_1-1710309227589.png

 

@Ankur Bawiskar @Community Alums 

 

Thanks,

Abdul

2 REPLIES 2

Community Alums
Not applicable

Hi @sattar3 ,

What i see from the error is , it's the credentials and connections you have created for OAuth, that's not working.

 

Naga Jyothi
ServiceNow Employee
ServiceNow Employee

 make sure the Access token exists in the oauth_credential table and then run the flow.

 

Also

 


Can you please try the following?

1. Go to your custom AD on Azure Portal -> Click applications tab -> Click on the name of your AD application to go to its details view.
On the details view go to configure tab.

2. Scroll down to the bottom of the page to reach "permissions to other applications" section.
There you will see all permissions currently assigned to Azure AD application in delegated permissions multi-select list box.

3. Check the box against "Access your organization's directory" and "Read directory data".
Click save in bottom tool bar to save the changes.
 
May be some API Directory permissions were missing.