add user to group spoke error in integration with azure

AlekhyaD2093158
Tera Contributor

Hi,

 

Am receiving this error when trying to add user to azure group 
{"Action Status": {
"code": 1,
"message": "Error: Forbidden Request. Please Check Oauth Token and scope permission. (Process Automation.b88d792d1bb1b510fb427c95464bcb7c; line 6)"
}}

Below are the permissions added. Can someone please let me know what else permissions are missing ?

AlekhyaD2093158_0-1750693550412.png

 

12 REPLIES 12

Have you added Application type scopes?


I can add user to a group from rest with the scopes i showed you in previous response with application type scopes

 



yes, added below scopes

AlekhyaD2093158_0-1750772314606.png

 

How you have developed it, have you created application registry record OR are you calling it directly with rest script?

We also have to add scope in servicenow while requesting token





through application registry record

Have you added scope like this in application registry?

MuhammadSalar_0-1750773944358.png
and added this scope in profile?

MuhammadSalar_1-1750773992291.png