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
We use the Microsoft Graph PowerShell module along with the 'Az' PowerShell module in Azure function app and the requirements.psd1 specifies the following. The execution runtime is PowerShell Core
The error we see while trying to connect using "Connect-MgGraph" is :
"Could not load file or assembly 'Microsoft.Identity.Client, Version=4.49.1.0, Culture=neutral, PublicKeyToken=0a613f4dd989e8ae'. Could not find or load a specific file. (0x80131621) Could not load file or assembly 'Microsoft.Identity.Client, Version=4.49.1.0, Culture=neutral, PublicKeyToken=0a613f4dd989e8ae' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference."
The modules have been working well for several months before the release of PowerSHell Graph 2.0.0
We observed that a new module was downloaded on 6/7/2023.
The difference between the previous and new working module is
The Az.Accounts version in both is 2.9.1. I see that the Microsoft.Identity.Client.dll is also there in the Az Accounts module
Although the error says the dll could not be loaded, i can see that DLL of version 4.49.1.0 has been downloaded with the module. Is this an issue with Mg Graph's compatibility with 'Az' module ? Is there a guidance on how to ensure both work seamlessly ?
The text was updated successfully, but these errors were encountered:
We use the Microsoft Graph PowerShell module along with the 'Az' PowerShell module in Azure function app and the requirements.psd1 specifies the following. The execution runtime is PowerShell Core
'Az' = '6.*'
'Microsoft.Graph' = '1.7.0'
Since 7/7/2023, we have started observing errors in Microsoft.Graph module. The version 2.0.0 seems to have been released on that day : https://www.powershellgallery.com/packages/Microsoft.Graph/2.0.0
The error we see while trying to connect using "Connect-MgGraph" is :
"Could not load file or assembly 'Microsoft.Identity.Client, Version=4.49.1.0, Culture=neutral, PublicKeyToken=0a613f4dd989e8ae'. Could not find or load a specific file. (0x80131621) Could not load file or assembly 'Microsoft.Identity.Client, Version=4.49.1.0, Culture=neutral, PublicKeyToken=0a613f4dd989e8ae' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference."
The modules have been working well for several months before the release of PowerSHell Graph 2.0.0
We observed that a new module was downloaded on 6/7/2023.
The difference between the previous and new working module is
The Az.Accounts version in both is 2.9.1. I see that the Microsoft.Identity.Client.dll is also there in the Az Accounts module
Although the error says the dll could not be loaded, i can see that DLL of version 4.49.1.0 has been downloaded with the module. Is this an issue with Mg Graph's compatibility with 'Az' module ? Is there a guidance on how to ensure both work seamlessly ?
The text was updated successfully, but these errors were encountered: