Loading...

Microsoft Recommends the UnifiedRoleDefinition Graph API for Role Assignment Automation

Microsoft Recommends the UnifiedRoleDefinition Graph API for Role Assignment Automation
Microsoft recommends that developers move from the older DirectoryRoles Graph API and use the UnifiedRoleDefinition API instead. Changing APIs will impact the code in any PowerShell scripts used to automate role assignments. In this article, we review some examples of the older way to assign roles and show how to do the same tasks with the new API.

Published on:

Learn more
Office 365 for IT Pros
Office 365 for IT Pros

Office 365 for IT Pros is the world's best book about Office 365 architecture, management, and deployment. Written by a team of highly experienced Microsoft MVPs, Office 365 for IT Pros is refreshed monthly.

Share post:

Related posts

Power BI, M365 Copilot And The Importance Of DAX UDFs

This was a big week for Power BI Copilot with the announcement of a new direction for the feature. If you haven’t done so already, read ...

1 hour ago

SharePoint Online throttling report

Check out the newly introduced SharePoint Online throttling report, now available under the /beta Graph API endpoint. … Continue reading...

14 hours ago

Microsoft Teams: Join by code requires owner approval for private teams

Microsoft Teams will require owner approval for users joining private teams via join codes starting late August 2026. Users can still generate...

2 days ago

Microsoft 365 Copilot: Capture voice notes in the Microsoft 365 Copilot mobile app

Microsoft 365 Copilot mobile app introduces a Record feature to capture voice notes and conversations, providing AI-generated transcripts and ...

2 days ago

Teams PowerShell Embraces Web Account Manager and Imposes Control Over Federated Chat

Teams released a new version of their PowerShell module on July 19. The new module contains WAM support and cmdlets to limit federated chat fo...

2 days ago

Microsoft Viva: Campaigns in SharePoint

Campaigns in SharePoint (site campaigns) is a new capability that brings Viva Amplify’ s campaign management natively into SharePoint. Corpora...

2 days ago

Microsoft 365 & Power Platform Community Call – July 23rd, 2026 – Screenshot Summary

Call Highlights   SharePoint Quicklinks: Primary PnP Website: https://aka.ms/m365pnp Documentation & Guidance SharePoint Dev Videos Issues...

3 days ago

Updates available for Microsoft 365 Apps for Current Channel

We’ve released updates to the following update channel for Microsoft 365 Apps: Current Channel When this will happen: We’ll be gra...

3 days ago

Microsoft 365 Admin agent is now generally available for all admins

The Microsoft 365 Admin agent is now generally available for all Microsoft Entra built-in administrators, offering AI-powered natural language...

3 days ago

How Permissions Creep Can Halt the Microsoft Graph PowerShell SDK

The Microsoft Graph PowerShell Command Line tools app is how people run Microsoft Graph PowerShell SDK cmdlets. The app can suffer from permis...

3 days ago
Stay up to date with latest Microsoft Dynamics 365 and Power Platform news!
* Yes, I agree to the privacy policy