Share Powerapps Canvas App with Microsoft 365 group

Emmanuel Adegor
3 min readMay 2, 2024

It is frustrating to have to individually share a canvas app with licensed users, especially when attempting to search for a Microsoft 365 group results in the below error:

Group wasn’t found. If the email address is correct, contact your admin for help.

A primary advantage or benefit of sharing apps with Microsoft 365 groups is the ability to simultaneously invite numerous users by pre-adding them to the group, rather than individually adding them to the PowerApps app.

So How do we enable the ability to share aPowerapps canvas app with a Microsoft 365 group? — By updating the SecurityEnabled option of the group from False to True.

Photo credit: www.google.com

Steps

1. Get the object ID of the group from Microsoft Entra ID (formerly Azure AD). I’ll use the “Information Technology” group on my tenant for this test.

2. Run the below commands on PowerShell x64

Install-Module AzureAD
Import-Module AzureAD
Connect-AzureAD

3. Check the SecurityEnabled status of the Microsft 365 group via Powershell

# Get the group
$group = Get-AzureADGroup -ObjectId "c7369fba-adb7-45e4-adb6-fc6041eae81a"

$securityEnabled = $group.SecurityEnabled

# Output the SecurityEnabled value
Write-Host "SecurityEnabled value for group $($group.DisplayName) is
$($securityEnabled)"

It displays the error:

SecurityEnabled value for group Information Technology is False

Now let’s change that to True

4. Run the below command on Powershell x64

Set-AzureADGroup -ObjectId "c7369fba-adb7-45e4-adb6-fc6041eae81a" 
-SecurityEnabled True

5. Run the get command again:

# Get the group
$group = Get-AzureADGroup -ObjectId "c7369fba-adb7-45e4-adb6-fc6041eae81a"

$securityEnabled = $group.SecurityEnabled

# Output the SecurityEnabled value
Write-Host "SecurityEnabled value for group $($group.DisplayName) is
$($securityEnabled)"

Now it displays

SecurityEnabled value for group Information Technology is True

Now let’s go back to the Powerapps, then search for the group “Information Technology” again:

6. Select the group and click Share.

There you go!! Now you can add groups to your Powerapps canvas apps

Photo credit: www.google.com

--

--

Emmanuel Adegor

SharePoint Developer | React JS | SPFX | SharePoint Administrator