How to fix "Assembly with same name is already loaded" while using Az PowerShell and Microsoft Graph PowerShell module?
Nagendrra C
70
Reputation points
Hi,
I am deploying a few Azure resources using az PowerShell and MgGraph PowerShell modules, using deployment script in an ARM Template, while using azpowershell 8.0 and importing a few modules I am getting "Assembly with same name is already loaded". when installing the whole "Microsoft.Graph" Getting a different error stating cannot convert to secure string.
Windows for business | Windows Server | User experience | PowerShell
Microsoft Security | Microsoft Graph
Microsoft Security | Microsoft Graph
An API that connects multiple Microsoft services, enabling data access and automation across platforms
Sign in to answer