Notifications
Announcements
Hi Everyone,AAD Security group can be assigned to Dataverse Team Group AAD manually.Is there a way to automate the process? We have seperate Teams that Manage Azure Security and Dataverse Security. It would require some effort of coordinating to get/add create AAD SG --> Get the Security Identifier and have the other Teams use it when creating Dataverse Team Group?
Hi @ezFlow,
Yes you can automate with by script like with PowerShell, but my preference is with Power Automate. In Power Automate you can sync the teams on a schedule or when a group is created, depending on your needs. Use the Graph API to get the desired groups with the HTTP connector and use the Dataverse connector to create/set the team and group Object ID. You can use the Graph Explorer to build and test the query.
You might initial need to work with the other team to get consent/right to use Graph if not already done. I use a service princpal to connect to graph via Power Automate. Here's a example:
Hope this makes sense!
Hi,
I want to implement Azure DevOps Pipelines to create environments and Teams, but checking the documentation of PowerShell (https://learn.microsoft.com/en-us/powershell/module/microsoft.powerapps.administration.powershell/?view=pa-ps-latest) I couldn't find any action that creates Dataverse Teams.what I'm missing??
Thanks
Hi @Lorenzo6, Dataverse teams is just another table in Dataverse so you can use the standard APIs to do this. Here's a popular PowerShell helper: https://github.com/seanmcne/Microsoft.Xrm.Data.PowerShell
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.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 796 Most Valuable Professional
Michael E. Gernaey 327 Super User 2025 Season 2
Power Platform 1919 268