Skip to content

Commit 1a83241

Browse files
authored
Merge pull request MicrosoftDocs#7988 from MicrosoftDocs/master
Publish 06/25/2021, 3:30 PM
2 parents b18d300 + a4d23b3 commit 1a83241

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

exchange/docs-conceptual/app-only-auth-powershell-v2.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@ Because storing user credentials locally is not a safe practice, we're releasing
2828

2929
The following examples show how to use the Exchange Online PowerShell V2 module with app-only authentication:
3030

31+
> [!IMPORTANT]
32+
> In the **Connect-ExchangeOnline** commands, be sure to use an `.onmicrosoft.com` domain in the _Organization_ parameter value. Otherwise, you might encounter cryptic permission issues when you run commands in the app context.
33+
3134
- Connect using a local certificate:
3235

3336
```powershell
@@ -51,10 +54,7 @@ The following examples show how to use the Exchange Online PowerShell V2 module
5154
When you use the _Certificate_ parameter, the certificate does not need to be installed on the computer where you are running the command. This parameter is applicable for scenarios where the certificate object is stored remotely and fetched at runtime during script execution.
5255

5356
> [!TIP]
54-
>
55-
> - In the **Connect-ExchangeOnline** commands, be sure to use an `.onmicrosoft.com` domain in the _Organization_ parameter value. Otherwise, you might encounter cryptic permission issues when you run commands in the app context.
56-
>
57-
> - App-only authentication does not support delegation. Unattended scripting in delegation scenarios is supported with the Secure App Model. For more information, go [here](/powershell/partnercenter/multi-factor-auth#exchange).
57+
> App-only authentication does not support delegation. Unattended scripting in delegation scenarios is supported with the Secure App Model. For more information, go [here](/powershell/partnercenter/multi-factor-auth#exchange).
5858
5959
## How does it work?
6060

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -513,7 +513,7 @@ Accept wildcard characters: False
513513
```
514514

515515
### -Organization
516-
The Organization parameter specifies the organization that's used in app-only authentication.
516+
The Organization parameter specifies the organization that's used in app-only authentication. Be sure to use an .onmicrosoft.com domain for the parameter value. Otherwise, you might encounter cryptic permission issues when you run commands in the app context.
517517

518518
```yaml
519519
Type: String

0 commit comments

Comments
 (0)