MSEndpointMgr / ModernDriverManagement

Official repo of Modern Driver Management from MSEndpointMgr.com
https://www.msendpointmgr.com
MIT License
133 stars 80 forks source link

Powershell Modules in Script Missing DLL's (AzureAD Unable to Generate CMG Auth Token) #242

Open TonyDewhurst10 opened 1 year ago

TonyDewhurst10 commented 1 year ago

Both the Bios/Driver steps are failing on CMG connected machines PE phase.

image

Manifests itself as missing AZUREAD module files and noticed this was indeed updated 2 days ago.....

image

TonyDewhurst10 commented 1 year ago

We fixed it by copying the following files before the Bios or Driver steps in the ts.

Tactical fix but its down to missing components in the AZUREAD powershell module.

image

dpknoll commented 1 year ago

I'm running into this too. I also learned AzureAD 2.0.2.140 was the last version to include these files. Microsoft has deprecated the Azure Active Directory Authentication Library. https://www.nuget.org/packages/Microsoft.IdentityModel.Clients.ActiveDirectory

I think we'll need to copy these files until NickolaA has time to update PSIntuneAuth on PowerShell gallery.

osxos commented 1 year ago

Same here. I noticed external clients where not getting driver updates. I was able to create a short script that copies the missing binaries over.