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

Using the Microsoft Graph PowerShell SDK to Update User Profiles

Now rolling out to Microsoft 365 tenants is the ability to update user profile cards with details of awards and certifications held by users. ...

1 hour ago

Announcing general availability of the mailbox import and export Microsoft Graph APIs

The mailbox import and export APIs on Microsoft Graph are now generally available. The post Announcing general availability of the mailbox imp...

11 hours ago

Microsoft 365 & Power Platform Community Call – May 7th, 2026 – Screenshot Summary

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

17 hours ago

Explosion of Legacy SharePoint Online Legacy Authentication Audit Events

Microsoft phased out the legacy IDCRL authentication mechanism from SharePoint Online on May 1, 2026. Sounds good, until you notice the explos...

1 day ago

Microsoft Sales Agent in Outlook and Teams: What It Means for Dynamics 365 Sales Add-Ins

If you have worked with Microsoft Dynamics 365 Sales for any amount of time, you already know the story. Your sales team spends most of their ...

1 day ago

Track notifications delivery for Storyline Announcements in Viva Engage

A new Notifications Delivery Tracker for Storyline Announcements in Viva Engage will launch worldwide in mid-May 2026, providing real-time del...

1 day ago

Microsoft 365 Copilot Cowork: Plugins, connectors, and partner integrations (Frontier)

Microsoft 365 Copilot Cowork is expanding with plugins, connectors, and partner integrations for Frontier participants starting May 2026. It e...

1 day 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...

1 day ago

Microsoft Purview | Data Loss Prevention- DLP to restrict processing external emails in M365 Copilot and Copilot Chat

Microsoft Purview is adding a new Data Loss Prevention (DLP) control for Microsoft 365 Copilot and Copilot Chat to exclude external emails fro...

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