You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems this script tries to utilise an old, or no longer available, ADAL library when running.
When running MasterScript PAW.ps1, it fails with the following:
Checking for AzureAD module...
AzureAD PowerShell module not found, looking for AzureADPreview
Exception calling "LoadFrom" with "1" argument(s): "Could not load file or assembly 'file:///C:\Users\USER\Documents\Wi
ndowsPowerShell\Modules\AzureADPreview\2.0.2.183\Microsoft.IdentityModel.Clients.ActiveDirectory.dll' or one of its
dependencies. The system cannot find the file specified."
At C:\Users\Will\downloads\securedworkstation-master\paw\Import-PAW-DeviceConfiguration.ps1:90 char:1
+ [System.Reflection.Assembly]::LoadFrom($adal) | Out-Null
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [], MethodInvocationException
+ FullyQualifiedErrorId : FileNotFoundException
Exception calling "LoadFrom" with "1" argument(s): "Could not load file or assembly 'file:///C:\Users\USER\Documents\Wi
ndowsPowerShell\Modules\AzureADPreview\2.0.2.183\Microsoft.IdentityModel.Clients.ActiveDirectory.Platform.dll' or one
of its dependencies. The system cannot find the file specified."
At C:\Users\Will\downloads\securedworkstation-master\paw\Import-PAW-DeviceConfiguration.ps1:92 char:1
+ [System.Reflection.Assembly]::LoadFrom($adalforms) | Out-Null
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [], MethodInvocationException
+ FullyQualifiedErrorId : FileNotFoundException
Cannot find type [Microsoft.IdentityModel.Clients.ActiveDirectory.AuthenticationContext]: verify that the assembly containing this type is loaded.
That file doesn't exist in AzureADPreview\2.0.2.183
The text was updated successfully, but these errors were encountered:
It seems this script tries to utilise an old, or no longer available, ADAL library when running.
When running MasterScript PAW.ps1, it fails with the following:
That file doesn't exist in AzureADPreview\2.0.2.183
The text was updated successfully, but these errors were encountered: