title: Set-OrganizationConfing not recognised, even though I can Get-OrganizationConfig
body: <p>I'm trying to set the 'Focused Inbox' to disabled for the whole organisation. I've found lots of scripts and tutorials online, most of which point toward using the Exchange Online Session in PowerShell.</p>
  <p>e.g.:</p>
  <ul>
  <li><a href="https://docs.microsoft.com/en-us/office365/admin/setup/configure-focused-inbox?view=o365-worldwide" rel="nofollow noreferrer">https://docs.microsoft.com/en-us/office365/admin/setup/configure-focused-inbox?view=o365-worldwide</a></li>
  <li><a href="https://docs.microsoft.com/en-au/powershell/exchange/exchange-online/connect-to-exchange-online-powershell/connect-to-exchange-online-powershell?view=exchange-ps" rel="nofollow noreferrer">https://docs.microsoft.com/en-au/powershell/exchange/exchange-online/connect-to-exchange-online-powershell/connect-to-exchange-online-powershell?view=exchange-ps</a></li>
  </ul>
  <p>My PS script is as follows:</p>
  <pre><code># Set up Credential
  $UserCredential = Get-Credential
  
  # Create the Exchange Online session
  $Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powershell-liveid/ -Credential $UserCredential -Authentication Basic -AllowRedirection
  
  # Import the cmdlets into this session
  Import-PSSession $Session -DisableNameChecking
  
  # Get a list of the organisation's current settings
  Get-OrganizationConfig
  
  # Now set the 'Focused Inbox' option to 'off' for everyone
  Set-OrganizationConfig -FocusedInboxOn $false
  
  # Must remove the session to avoid clogging and clutter
  Remove-PSSession $Session
  </code></pre>
  <p>The 'Get-OrganizationConfig' command returns a full list of the current config:</p>
  <p><a href="https://i.stack.imgur.com/ZytZW.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ZytZW.jpg" alt="enter image description here" /></a></p>
  <p>However, when I execute the 'Set-OrganizationConfig' command, it fails with the following message:</p>
  <pre><code>Set-OrganizationConfig : The term 'Set-OrganizationConfig' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a 
  </code></pre>
  <p>path was included, verify that the path is correct and try again.</p>
  <p><a href="https://i.stack.imgur.com/VuRFx.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/VuRFx.jpg" alt="enter image description here" /></a></p>
  <p>My presumption is that it's a permissions issue, however, I can <em>see</em> all the organisation's config, and it's the cmdlet that's missing.</p>
  <p><strong>What is the problem?</strong></p>
  <p>I am:</p>
  <ul>
  <li>Running PS as 'Adminstrator'</li>
  <li>Using the 'SharePointAdmin' administrator account for the credentials</li>
  </ul>