web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Share PowerApps with C...
Power Apps
Answered

Share PowerApps with CDS connection (Security Roles)

(0) ShareShare
ReportReport
Posted on by 94

Hi all

 

I have created a Canvas App that is based on some CDS entities. I also have created a cusotm Secuirty Role in the CDS environment. When I share the app with single users, I can pick which Security Role they should belong to, and they automatically get added to the Security Role.

 

When I add a distributionlist/AD group, and pick the Security Role, nothing happens. When I go to the Users list in the CDS and check whether the user have got added the Security Role or not, non of them have it.

 

Is it not possible to share an App and add a bunch of users to a Security Role this way?

2020-06-02_12h17_14.png

Categories:
  • amitchandak Profile Picture
    95 on at
  • Verified answer
    v-siky-msft Profile Picture
    Microsoft Employee on at

    Hi @emoii ,

     

    Yes. The Security roles are assigned to the security group, all existing members can inherit the Role permissions from from the security group. However, It doesn't mean all members in the group will be assigned the selected roles. They can only inherit from the group.

    If you want to assign the security roles for multiple users, just multi-select the users and assign roles to them in Users list.

    Snipaste_2020-06-03_15-54-00.png

    Hope this helps.

    Sik

  • emoii Profile Picture
    94 on at

    Thanks for the answer.

     

    So it works actually :). The users in the Security Group gets the Sercuirty Role, I am just not able to see the assigned role on the user, and that must bee because users in the group inherits and not are assigned directly? 

     

    Thanks again.

  • v-siky-msft Profile Picture
    Microsoft Employee on at

    Hi @emoii ,

     

    Yes, it should work since the members can inherit the permission. It is only said that the role is not really given to users, and those inherited premission will also be removed when the users is removed from the group.

    Sik

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 224 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 189 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 126

Last 30 days Overall leaderboard