Forum Discussion

Inkey_Solutions's avatar
Inkey_Solutions
Brass Contributor
Aug 22, 2024

Graph API permission issue to update Office 365 group settings via Application user(ClientId/Secret)

Hello Everyone,

 

I'm facing an issue updating the allowExternalSenders setting for a Microsoft 365 Group. I've tried various methods, including granting permissions of App to Groups and Directories, adding an App role, in the App and even assigning my App to the Azure Global Admin Security role, but nothing seems to be working. Does anyone have any suggestions or solutions for this problem?

 

below is the error.

Failed to update group settings: {"error":{"code":"ErrorGroupsAccessDenied","message":"User does not have permissions to execute this action.

  • Not every operation is supported for application permissions, afaik this property can only be updated via delegate permissions. If you need to use application permissions, Exchange Online PowerShell or the (unsupported) /adminAPI endpoint might be an alternative

Resources