cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Sokon
Kudo Collector
Kudo Collector

How to share a canvas app with a group of people?

How can I share a canvas app with a group of people using any kind of AAD group instead of having to add each person individually?

 

I tried this:

- AAD security group (mail-enabled or not): It is possible to search and and select such a group and click on share. However, the app is not availlable to the users in that group. Doesn't matter if the "co-owner" option is checken or not.

- Modern/O365-Groups won't even show up in the search field.

1 ACCEPTED SOLUTION

Accepted Solutions

Hi Sokon,

 

Yes seems so, I did some test in myside and could repro the issue.

 

After sharing the app, it is not visible for others which will mislead us to think that the sharing has failed. However, if you share the app url to the users, you will find that they are able to access the app directly via the url, without any permission error. So seems there just some delay in UI.

 

I am not sure what have caused the delay. If you would love the understand the root cause, I would suggest you submit a support ticket asking for a confirmation if this is a known issue or bug.

 

Erica

View solution in original post

14 REPLIES 14
eka24
Super User III
Super User III

Please read this post:
https://powerusers.microsoft.com/t5/Building-Power-Apps/Share-apps-with-a-Office365-Group/m-p/309345

 

If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

WarrenBelz
Super User III
Super User III

Hi @Sokon ,

Here is an article on how to share with CDS - I don't believe it is possible with SharePoint (if it is, I would like the answer as well.

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

Sokon
Kudo Collector
Kudo Collector

Thank you both for your answers.

@eka24: I read that article as well as the documentation before I posted. Security Groups don't work, neither mail-enabed or not. Does it work in your case?

@WarrenBelz: The canvas app I need to share uses Sharepoint, not CDS. However I don't understand how the data storage affects the shareing of an canvas app?

EricaBao
Microsoft
Microsoft

Hi Sokon ,

 

You can share an app with Office 365 groups. However, the group must be security enabled. Enabling security ensures the Office 365 group can receive security tokens for authentication to access apps or resources.

 

Please check this documentation for your reference. https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/share-app#share-an-app-with-office-365-...

 

If this reply helps, please mark it as a solution.

 

Regards,

Erica

Hi All,

@EricaBao ,

That is the article I posted and reading it talks about being a CDS user.

We have Security Groups, but I have never been able to get them to come up in the PowerApps Share list. I would love this answer as well as I have 20 new field apps coming up to share with over 100 users each. We use SharePoint.

@EricaBao: Thanks for your quick reply. I'll give it a try and come back with the result.

Are you saying that I can only share with an o365-group that is security-enabled, but not with regular AAD security groups - even when these are selectable in the UI?

Hi @EricaBao, I turned an O365 group into an "security-enabled" one. After that, the group appeared in the list when I searched for it (until then, this particular group didn't show up). I added the group as "user" of the app. Then, with a user that is member (actually owner) of this group I logged in and tried to access the app. The app didn't show up in the apps list, so no change here. (I double checked the correct environment) 

So far I tried to share an app with an AAD security group, AAD mail-enabled security group, O365 group an security-enabled O365 group. None of that works.

Any further ideas?

Hi @Sokon,

 

Have you checked if the users within this group have the security role "Environment Maker"?

Hi @EricaBao 

Thanks for your suggestion. I want them to use the app, not to edit it and therefore don't want to give them maker permissions.

However, I might have figured out what the problem is and it seems that I was able to share an app with an regular AAD security group.

It seems that a certain amount of time is needed until the permissions take effect. In fact that might be hours. I've seen a screenshot that shows a message telling so, though I've never seen it in my attempts. The long delays would make it almost impossible to test it thoroughly myself.

I couldn't find any information about the delay, ist there any documentation about this?

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Top Solution Authors
Top Kudoed Authors
Users online (73,423)