The Best Way to Share Canvas App With a Microsoft 365 Group in Power Apps

A few weeks before, I was required to share the Power Apps application with Microsoft 365 Groups, but I faced an issue while sharing the application: the group name did not show up. After researching, I found a way to share the application with Microsoft 365 groups.

In this tutorial, we’ll see how to share Canvas app with a Microsoft 365 Group in Power Apps.

Share Canvas App With a Microsoft 365 Group in Power Apps

We can share the Power Apps application with Microsoft 365 Groups by clicking on the Share option for a particular application in the Power Apps platform. If you’re getting the below message while sharing the application, we need to enable the security for the Microsoft 365 group.

share canvas app with Microsoft 365 group

We can enable the security for the Microsoft 365 group with Power Automate flow. We’ll see how to allow the group’s security and share the Power Apps application later.

Allow Microsoft 365 Groups to Share the Power Apps Application [Using Power Automate Flow]

1. Go to the Microsoft Azure portal, search for Groups, click on All groups, and Copy the Object ID next to the Microsoft 365 group.

share canvas app with office 365 group

2. Open Power Automate, click on +Create on the left navigation, click on Instant Cloud Flow, manually trigger a flow, and Click on the Create button.

how to share canvas app with office 365 group

3. Add Initialize variable action to store the Microsoft 365 Group object ID.

  • Name = Provide the variable name.
  • Type = Choose String from the dropdown.
  • Value = Provide the copied Microsoft 365 group ID.
how to add share canvas app with office 365 group

4. Add a Send an HTTP request V2 action to enable the Security of the Microsoft 365 Group.

URI

https://graph.microsoft.com/v1.0/groups/@{variables('Objectid')}

Method

PATCH

Body

{"securityEnabled": true}

Content-Type

application/json
share canvas app with office 365 group in power apps

5. Add another Send an HTTP request V2 to get the security-enabled information.

URI

https://graph.microsoft.com/v1.0/groups/

Method

GET

Content-Type

application/json
how to share canvas app in powerapps with microsoft 365 group

6. Save the flow and test it manually. Once it runs successfully, try providing the Microsoft 365 group name while Sharing.

To share the Power Application with Microsoft 365 groups, open the Power Apps environment, select the application, click on ellipses(…), and select the Share option.

share canvas app with security group

7. Now provide the Microsoft 365 Group name to display it now. Click on the dropdown and select the permissions like User or Co-owner.

how to share power apps with office 365 groups

8. Select the group and click on the Share button. You’ll then receive a success message stating that the app has been shared.

share powerapps with security group

This way, we can share the Power Apps application with Microsoft 365 Groups.

I hope you understand how to share the Power Apps application with Microsoft 365 groups. To do so, follow this article. Also, you may like:

>