Security-Enable a Microsoft 365 Group

If you want to share a Microsoft Power App with an existing Microsoft 365 Group, it must first be security-enabled. This is currently not possible through the UI.

Get the Microsoft 365 Group ID

  • Open the Azure Portal.
  • Go to Entra Groups.
  • Find the Group you want to update, then click it to open the details.
  • Copy the "Object ID" value on the Overview page. It should be formatted like this: 1b248e9f-f78b-4227-989c-c8b01d8689e2.

Update the Microsoft 365 Group Properties

  • Open Microsoft Graph Explorer.
  • Sign in to Graph Explorer as an admin.
  • In the Graph Explorer query bar, enter https://graph.microsoft.com/v1.0/groups/1b248e9f-f78b-4227-989c-c8b01d8689e2 where the ID at the end is the ID of your Microsoft 365 Group.
  • Change the "GET" dropdown to "PATCH".
  • In the Request Body, add. {"security-enabled": true}.
  • Click the Request Headers tab.
  • Enter Key = "Content-Type" and Value = "application/json".
  • Click the Modify Permissions tab again.
  • Click the Consent button next to Group.ReadWrite.All. A pop-up will open. Click Accept.
  • Click the Consent button next to "Directory.ReadWrite.All". A pop-up will open. Click Accept.
  • Run the query.

Check the Result

  • Change the "PATCH" dropdown back to "GET".
  • Run the query.
  • You should see the details of the Microsoft 365 group, and securityEnabled should be set to true.

Share the App

You should now be able to share the Power App with the actual M365 Group, making it easier to manage users access to teh app and SharePoint at the same time.

Subscribe to receive every post in your email inbox.

No spam, no sharing to third party. Only you and me.