Closed bironeaj closed 3 years ago
You are missing modules // they aren't in the right locations to use X-Play support of pwsh 7.
Just use PowerShell 5.1 to get around it.
Or make sure to install the intune.usb.creator for 5.1 to get the pre-reqs installed in the right spot.
On Tue, 13 Oct 2020, 1:22 am Anthony J Birone, notifications@github.com wrote:
PowerShell 7.0.3 Intune.USB.Creator Module 1.0.1.312
When creating the USB, I am seeing the following warning message.
Grabbing Autopilot config file from Azure.. WARNING: Could not load file or assembly 'Microsoft.IdentityModel.Clients.ActiveDirectory, Version=5.0.5.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. Could not find or load a specific file. (0x80131621)
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/tabs-not-spaces/Intune.USB.Creator/issues/20, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIDA4LJ3CECCPZYCGOZ4STLSKMGKBANCNFSM4SM3X67Q .
Using PowerShell 5.1 resolved the issue.
PowerShell 7.0.3 Intune.USB.Creator Module 1.0.1.312
When creating the USB, I am seeing the following warning message.
After imaging the device, it looks as if it wasn't autopiloted. The sign in screen is the traditional "Sign in with Microsoft" instead of "Sign in with ORGNAME".