-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I got below error when I launch it from Power shell. #2
Comments
This script is based on the Its using a deprecated Authentication module, so in order for this to continue working, you would need to install an older version of the AzureAD Module using the following command:
This same issue is reported on the original repo, issue 254. |
Hi Dan,
I have updated GitHub page as encountered new issue.
Would you please help me on that ?
Regards
Saurabh Singh
…On Tue, Jan 2, 2024, 04:39 Daniel Zabinski ***@***.***> wrote:
This script is based on the AppleDEPProfile_Assign.ps1 script found in
the powershell-intune-samples
<https://github.com/microsoftgraph/powershell-intune-samples/blob/master/AppleEnrollment/AppleDEPProfile_Assign.ps1>
repo.
Its using a deprecated Authentication module, so in order for this to
continue working, you would need to install an older version of the AzureAD
Module using the following command:
Install-Module -Name AzureAD -RequiredVersion 2.0.2.140
This same issue is reported on the original repo, issue 254
<microsoftgraph/powershell-intune-samples#254>.
—
Reply to this email directly, view it on GitHub
<#2 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BBHWK5UJNKEMOJEWOBC6Q3DYMMNIFAVCNFSM6AAAAABBD3ZDA2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZTGQ3TEMZZGI>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Exception calling "LoadFrom" with "1" argument(s): "Could not load file or assembly 'file:///C:\Program
Files\WindowsPowerShell\Modules\AzureAD\2.0.2.182\Microsoft.IdentityModel.Clients.ActiveDirectory.dll' or one of its dependencies. The system cannot find the file specified."
At line:106 char:1
Exception calling "LoadFrom" with "1" argument(s): "Could not load file or assembly 'file:///C:\Program
Files\WindowsPowerShell\Modules\AzureAD\2.0.2.182\Microsoft.IdentityModel.Clients.ActiveDirectory.Platform.dll' or one of its dependencies. The system cannot find the file specified."
At line:108 char:1
Cannot find type [Microsoft.IdentityModel.Clients.ActiveDirectory.AuthenticationContext]: verify that the assembly containing this type is loaded.
The text was updated successfully, but these errors were encountered: