From f2209000625c3238daa28e3890d670b615411006 Mon Sep 17 00:00:00 2001 From: amaclarencgi <139151794+amaclarencgi@users.noreply.github.com> Date: Thu, 1 May 2025 10:45:53 +0100 Subject: [PATCH] Update create-json-file.md Write permissions aren't required to produce the autopilot profile JSON files. --- autopilot/tutorial/existing-devices/create-json-file.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autopilot/tutorial/existing-devices/create-json-file.md b/autopilot/tutorial/existing-devices/create-json-file.md index 91c360e23a..3eab50fc75 100644 --- a/autopilot/tutorial/existing-devices/create-json-file.md +++ b/autopilot/tutorial/existing-devices/create-json-file.md @@ -56,7 +56,7 @@ To export the Windows Autopilot profiles as JSON files, follow these steps: 1. Copy the following commands by selecting **Copy** at the top right corner of the below **PowerShell** code block: ```powershell - Connect-MgGraph -Scopes "Device.ReadWrite.All", "DeviceManagementManagedDevices.ReadWrite.All", "DeviceManagementServiceConfig.ReadWrite.All", "Domain.ReadWrite.All", "Group.ReadWrite.All", "GroupMember.ReadWrite.All", "User.Read" + Connect-MgGraph -Scopes "Device.Read.All", "DeviceManagementManagedDevices.Read.All", "DeviceManagementServiceConfig.Read.All", "Domain.Read.All", "Group.Read.All", "GroupMember.Read.All", "User.Read" $AutopilotProfile = Get-AutopilotProfile $targetDirectory = "C:\Autopilot" $AutopilotProfile | ForEach-Object {