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.

Frequently asked questions

Are there any prerequisites to using this command?

Yes. Use PowerShell 7.4.0 or later. Windows PowerShell isn't supported for managing Microsoft Places. Install or update the MicrosoftPlaces PowerShell module by running:

Install-Module -Name MicrosoftPlaces -Force

I receive an error when attempting to run Connect-MicrosoftPlaces

This can happen if you've set up a proxy on your PC, as PowerShell 7 will not automatically use these settings when it tries to connect to the internet. To work around this, you need to manually configure the proxy settings within PowerShell 7. This can be done using commands like netsh winhttp set proxy.

Do I need certain permissions to run Connect-MicrosoftPlaces?

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