title: cant get sharepoint powershell admin to work - term not recognised
body: <pre><code> &gt; set-spotenant -DisableCustomAppAuthentication $false                                        
   set-spotenant: The term 'set-spotenant' is not recognized as a name of a cmdlet, function, script file, or executable program.
  
  &gt; Connect-SPOService -Url https://contoso-admin.sharepoint.com -Credential me@domain.com
  set-spotenant: The term 'set-spotenant' is not recognized as a name of a cmdlet, function, script file, or executable program.
  </code></pre>
  <p>I installed the latest powershell using homebrew on m1 mac.  This worked.</p>
  <p>% pwsh --version
  PowerShell 7.1.3</p>
  <p>Then I installed the power shell extension.</p>
  <p>I tried:</p>
  <pre><code>Install-Module -Name Microsoft.Online.SharePoint.PowerShell -Scope CurrentUser
  </code></pre>
  <p>and later</p>
  <pre><code>Install-Module -Name Microsoft.Online.SharePoint.PowerShell -RequiredVersion 16.0.21213.12000    
  
  
   Get-Module -Name Microsoft.Online.SharePoint.PowerShell -ListAvailable | Select Name,Version 
  </code></pre>
  <p>returns:</p>
  <pre><code> Microsoft.Online.SharePoint.PowerShell 16.0.21411.12000
   Microsoft.Online.SharePoint.PowerShell 16.0.21213.12000
  </code></pre>