add user to group spoke error in integration with azure
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-23-2025 08:46 AM
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 ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-24-2025 06:36 AM - edited 06-24-2025 06:37 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-24-2025 06:38 AM
yes, added below scopes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-24-2025 06:56 AM - edited 06-24-2025 07:03 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-24-2025 07:00 AM
through application registry record
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-24-2025 07:06 AM
Have you added scope like this in application registry?
and added this scope in profile?