MC1107490 Updates to required permissions for Microsoft Graph Beta API deviceManagement
Primary service: Intune
ChangePilot summary
- Starting July 31, 2025, specific Graph APIs will require new permissions:
DeviceManagementScripts.Read.AllorDeviceManagementScripts.ReadWrite.All. - Previous permissions
DeviceManagementConfiguration.ReadWrite.AllorDeviceManagementConfiguration.Read.Allwill no longer be valid for these APIs. - Applications, scripts, or tools referencing the affected APIs must be updated to include the new permissions.
- Detailed guidance for updating permissions can be found in Microsoft Entra ID documentation.
History
Recorded changes
No changes recorded since ChangePilot first saw this post.
Microsoft message
As mentioned in MC1066336, starting July 31, 2025, or soon after, the following Graph APIs will require either DeviceManagementScripts.Read.All or DeviceManagementScripts.ReadWrite.All permissions to continue working:
- ~/deviceManagement/deviceShellScripts
- ~/deviceManagement/deviceHealthScripts
- ~/deviceManagement/deviceComplianceScripts
- ~/deviceManagement/deviceCustomAttributeShellScripts
- ~/deviceManagement/deviceManagementScripts
[How this will affect your organization:]
Previously, these Graph APIs required granting either DeviceManagementConfiguration.ReadWrite.All or DeviceManagementConfiguration.Read.All permissions. If you have any enterprise applications, scripts or other tools that have been granted these permissions they will need to be updated in order to continue calling the listed Graph APIs.
[What you need to do to prepare:]
Ensure any apps, scripts, or tooling that reference the listed Graph APIs include either DeviceManagementScripts.Read.All or DeviceManagementScripts.ReadWrite.All permissions and remove the old permissions: DeviceManagementConfiguration.ReadWrite.All or DeviceManagementConfiguration.Read.All.
For detailed instructions for updating permissions for applications, refer to: Update an app's requested permissions in Microsoft Entra ID
- If you are an independent software vendor or partner with an application deployed in your customer environments that needs updating, review Grant consent for the added permissions for the enterprise application
More information
- learn.microsoft.com/graph/api/intune-devices-devicecompliancescript-list?view=graph-rest-beta
- learn.microsoft.com/entra/identity-platform/howto-update-permissions
- learn.microsoft.com/entra/identity-platform/howto-update-permissions?pivots=portal#grant-consent-for-the-added-permissions-for-the-enterprise-application
- learn.microsoft.com/graph/api/intune-devices-devicecustomattributeshellscript-list?view=graph-rest-beta
- learn.microsoft.com/graph/api/intune-devices-devicehealthscript-list?view=graph-rest-beta
- learn.microsoft.com/graph/api/resources/intune-shared-devicemanagementscript?view=graph-rest-beta
- learn.microsoft.com/graph/api/intune-devices-deviceshellscript-list?view=graph-rest-beta
Details
Services
- Intune
Category
- Plan for change
Microsoft tags
- Admin Action