-
Notifications
You must be signed in to change notification settings - Fork 176
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
Microsoft.Graph.authentication: Could not load file or assembly #2424
Comments
Theres others having the same issue in Azure Functions: |
Same issues here. |
Install it to your computer:
Install-Module -Name Microsoft.Graph.Authentication -RequiredVersion 2.8.0
then zip the module folder:
[image: image.png]
torsdag 9. november 2023 skrev Terry Duckett ***@***.***>:
… Same issues here. May I ask, how can you download and upload an older
version? I downloaded the nupkg of 2.8 and renamed it to a .zip for an
upload, but the system did not like that.
—
Reply to this email directly, view it on GitHub
<#2424 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AUQ3ITFDUTY5IEFAWHDDH5TYDUUKXAVCNFSM6AAAAAA7ETHIN2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMBUGQ3DOMZVHE>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Similar issues here |
Hi @AlexanderHolmeset thank you for identifying and logging this issue. As a work around please use the script below to preload the missing DLL from AZ.Accounts module:
|
@timayabi2020, thanks for the workaround. I just added the script block to my script like you did: I am using Powershell Runtime version 5.1. Does your workaround only work with Powershell Runtime 7.2? Thanks for the clarification! 😊 |
I think this issue is also breaking the M365 DSC connection cmdlets that I am using with an Azure Automation system managed identity, see my post here: microsoft/Microsoft365DSC#3867 |
Thanks for reporting the bug. Please ensure you've gone through the following checklist before opening an issue:
Describe the bug
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Module Version
2.9
PowerShell 7.2 (preview) runbook
Environment Data
Screenshots
Additional context
If i install 2.8 instead, by downloading to my computer, zip, upload to azure automation it works. Issue is with 2.9.
The text was updated successfully, but these errors were encountered: