Microsoft powershell with ubuntu

Mohammed Alhajji 41 Reputation points
2022-03-23T08:59:45.69+00:00

Hello team,

I'm trying to use Microsoft Graph to create an online meeting using APIs integration. After I created Microsoft Azure account and App with online meeting permissions. I'm using "https://graph.microsoft.com/v1.0/users/{<!-- -->{userId}}/onlineMeetings" but the response is "No Application Access Policy found for this app.". So I installed Powershell in ubuntu and then ran these commands:

  1. pwsh
  2. Install-Module -Name MicrosoftTeams -Force -AllowClobber
  3. Import-Module MicrosoftTeams
  4. Connect-MicrosoftTeams
  5. New-CsApplicationAccessPolicy -Identity Test-policy -AppIds "{<!-- -->{APPID}}" -Description "description here"

After last command, I get this error "pwsh: symbol lookup error: /opt/microsoft/powershell/7/libmi.so: undefined symbol: SSL_library_init". How can I fix this error?

PowerShell version --> 7.2.2
Ubuntu version --> 18.04.

Best Regards

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,590 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Lynn Niu 236 Reputation points
    2022-03-23T09:26:33.823+00:00

    Microsoft Teams PowerShell module is not supported in linux. see this: https://learn.microsoft.com/en-us/MicrosoftTeams/teams-powershell-install

    1 person found this answer helpful.