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 / Create Team with All U...
Power Apps
Unanswered

Create Team with All Users

(0) ShareShare
ReportReport
Posted on by 186

I am trying to assign security roles to all users in an environment. I do not want to do this on a 'Business Unit' level as that would mean every time we need to update the 'all users' permissions, we would need to do it for every Business Unit.

 

My plan was to create a dynamic Azure Active Directory group which holds all members in the tenant. I then create a new team of type 'AAD Security group' and assign that team the appropriate permissions. However, when I try to create it, I get the following error message

 

Unknown error. Please try again later.Error Details:The group whose AzureActiveDirectoryObjectId = xxxxxxx is not an AadGroup or OfficeGroup, the attribute GroupTypes are = DynamicMembership.

 

lkaspar_0-1636353337144.png

 

It looks like it is not possible to use an dynamic AAD Security Group.

 

Does anyone know how to get around this limitation or other approaches to assign security roles to all users in an environment?

I have the same question (0)
  • Drew Poggemann Profile Picture
    9,287 Most Valuable Professional on at

    Hi @LKS 

     

    The mapping of a "Dynamic User" security group is not supported for mapping to a Team in Dataverse as described in this article: (https://docs.microsoft.com/en-us/power-platform/admin/manage-group-teams#using-azure-active-directory-groups-to-manage-a-users-app-and-data-access)

     

    You would need to add the users to an All Employees Security Group in Azure AD manually (or maybe through a flow?) to get them to map to a team in Dataverse. 

     

    Please accept if answers your question or Like if helps in any way.


    Thanks,

    Drew

  • lukas.schauffele Profile Picture
    186 on at

    Hey @dpoggemann ,

     

    thanks for the reply. I was trying to avoid having to manually add and remove users to this group. 
    Do you know of another method to get access to all D365/Dataverse users in an environment?

     

    Thanks - Lukas

  • Drew Poggemann Profile Picture
    9,287 Most Valuable Professional on at

    hi @LKS ,

     

    No I do not.  The Security Group approach is the approach I have used primarily but yes, you need to manually add the users to the security group.

     

    Thanks,


    Drew

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 846

#2
Valantis Profile Picture

Valantis 532

#3
Haque Profile Picture

Haque 410

Last 30 days Overall leaderboard