Share via

Getting 403: "ErrorGroupAccessDenied" when changing group settings with Graph API

Anonymous
2024-05-26T12:11:17+00:00

I want to create a group then adding members, owners and changing settings using Graph API

I can create a group and assign members and owners but when I try to change the settings I get 403: "ErrorGroupAccessDenied"
It happens only when I try to change "allowExternalSenders" and "autoSubscribeNewMembers"(for other settings I tried the code succeeded to change)

I followed the "Update group" page and gave all the permissions as explained but I still get that error.

Windows for business | Windows Server | Directory services | Active Directory

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

2 answers

Sort by: Most helpful
  1. Anonymous
    2024-05-29T06:56:52+00:00

    Thank you for the answer,

    I gave all of these permissions and made sure they were granted by an admin.

    Still the 403 error appears.

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2024-05-27T03:22:31+00:00

    Hi Shachar Shmueli,

    Thank you for posting in the Microsoft Community Forums.

    To change the allowExternalSenders and autoSubscribeNewMembers settings, make sure the application has the following permissions:

    Group.ReadWrite.All

    Directory.ReadWrite.

    All Directory.ReadWrite.All These permissions need to be granted by an administrator to take effect.

    Best regards

    Neuvi Jiang

    Was this answer helpful?

    0 comments No comments