Open tmontney opened 1 year ago
@tmontney I was seeing the same issue, looks like they haven't updated the scripts to use the newer MSAL libraries. The solution is to install a deprecated version using the command Install-Module -Name AzureAD -RequiredVersion 2.0.2.140 as per the instruction from michalorac in this issue: https://github.com/microsoftgraph/powershell-intune-samples/issues/254
AppConfigurationPolicy_Export.ps1 fails on lines 86 and 88. I've reinstalled the
AzureAD
module (as well as the preview module) and ensured it's latest. Both PS5 and PS7 fail in this manner. I cannot find these .dll files in theAzureAD
module directory.Additionally, PS5 had an additional error:
 : The term 'Â' is not recognized as the name of a cmdlet, function...
(PS7 had no issue with this.) VSCode noted the following:The character U+00a0 is not a basic ASCII character.
There were 5 instances of that character on its own line. Once replaced with an empty string, it was only theLoadFrom
errors that remained.