Skip to content

Commit 9c69d2b

Browse files
authored
Merge pull request #9981 from MicrosoftDocs/chrisda
Chrisda to Main
2 parents 1c64bb3 + af2e049 commit 9c69d2b

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

exchange/exchange-ps/exchange/Connect-ExchangeOnline.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -427,9 +427,11 @@ Accept wildcard characters: False
427427
### -Device
428428
**Note**: This parameter is available in version 2.0.4 or later of the module, and only in PowerShell 7.
429429

430-
The Device switch specifies whether to authenticate interactively computers that don't have web browsers to support single sign-on (SSO). You don't need to specify a value with this switch.
430+
The Device switch is typically used on computers without web browsers. You don't need to specify a value with this switch.
431431

432-
The command returns a URL and unique code that's tied to the session. You need to open the URL in a browser on any computer, and then enter the unique code. After you complete the login in the web browser, the session in the Powershell 7 window is authenticated via the regular Azure AD authentication flow, and the Exchange Online cmdlets are imported after few seconds.
432+
Using this switch results in an on-screen message that contains the URL <https://microsoft.com/devicelogin> and a unique code. On any other device with a web browser and internet access, open the URL, enter the unique code, and enter your credentials in the subsequent pages.
433+
434+
If your login was successful, the PowerShell connection continues.
433435

434436
```yaml
435437
Type: SwitchParameter

0 commit comments

Comments
 (0)