MC1066336 Updates to required permissions for Microsoft Graph Beta API deviceManagement
Primary service: Intune
ChangePilot summary
- Upcoming Graph APIs will require new permissions: DeviceManagementScripts.Read.All or DeviceManagementScripts.ReadWrite.All.
- Previous permissions (DeviceManagementConfiguration.ReadWrite.All or DeviceManagementConfiguration.Read.All) must be removed from apps, scripts, or tools referencing these APIs.
- Ensure any relevant apps or scripts are updated to include the new permissions.
- Refer to Microsoft Entra documentation for detailed instructions on updating permissions.
- The change is categorized as having an admin impact and requires planning to avoid service disruptions.
History
Recorded changes
No changes recorded since ChangePilot first saw this post.
Microsoft message
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