Connect-MicrosoftPlaces

You can connect to Places PowerShell using modern authentication by running the Connect-MicrosoftPlaces cmdlet. This cmdlet works for accounts with or without multifactor authentication (MFA).

Syntax

Connect-MicrosoftPlaces

Description

This command creates a PowerShell connection to enable the use of other MicrosoftPlaces PowerShell commands.

Parameters

No parameters are exposed for this command. A browser window opens where you enter the identity and authentication credentials.

Troubleshooting

Are there any prerequisites to using this command?

  • Ensure that you're running the latest version of Microsoft PowerShell 7.
  • Ensure that you're running the latest version of the Places PowerShell client. You can force the install of the latest version using:
Install-Module -Name MicrosoftPlaces -AllowPrerelease -Force

I receive an error when attempting to run Connect-MicrosoftPlaces

  • PowerShell 7 doesn't currently use the proxy settings defined in user settings.
  • You can't currently connect to both Exchange Online and MicrosoftPlaces from within the same PowerShell window. Open in separate windows and try again.

Do I need certain permissions to run Connect-MicrosoftPlaces?

No. Permissions are enforced when running other commands after authentication completes.