MSEndpointMgr / Intune

Microsoft Intune scripts
MIT License
644 stars 243 forks source link

PSIntuneAuth Module broken due to AzureAD Module DLL dependency #63

Open Kevinnns opened 1 year ago

Kevinnns commented 1 year ago

Hi there,

Since Microsoft has changed the AzureAD Module to 2.0.2.180 PSIntuneAuth isn't functioning anymore, and therefore scripts that rely on this module, like Invoke-CMApplyDriverPackage and BIOSPackage when requesting packages over the CMG.

It seems PSIntuneAuth has a dependency on the AzureAD module because of some DLLs which don't exist anymore in the latest version of the AzureAD Module.

Work-A-Round for now is installing the AzureAD Module (latest) and then adding the missing DLLs from the 2.0.2.140 version. But possibly a quick fix could be to lock the PSIntuneAuth Module to the AzureAD module that does have those DLLs. Long term however, I'd guess the module (or the Apply Driver & Bios Package scripts) needs a bit of rework to get that Auth token that's being used.

Kind regards,

Kevin

nodiaque commented 10 months ago

Bump on that, cannot use this anymore in various script that need connection to CMG admin service.