MSOnline can't be imported on PowerShell (Connect-MsolService error)

前端 未结 6 2146
广开言路
广开言路 2020-12-02 23:55

I had this issue and couldn´t find any answer. The issue was that I was trying to use Azure cdmlets to connect to O365 via c# code, but I couldn´t get the connect-msol

6条回答
  •  -上瘾入骨i
    2020-12-03 00:16

    The solution with copying 32-bit libs over to 64-bit did not work for me. What worked was unchecking Target Platform Prefer 32-bit check mark in project properties.

提交回复
热议问题