Skip to content

Commit 6036216

Browse files
committed
Merge branch 'main' into Office-docs-powershell-Release-Branch
2 parents e158b6b + 8afca54 commit 6036216

File tree

8 files changed

+708
-11
lines changed

8 files changed

+708
-11
lines changed

exchange/docs-conceptual/connect-exo-powershell-managed-identity.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -92,10 +92,10 @@ Connect-ExchangeOnline -ManagedIdentity -Organization contoso.onmicrosoft.com
9292
After you've [created and configured a user-assigned managed identity](#create-and-configure-a-user-assigned-managed-identity), use the following syntax to connect to Exchange Online PowerShell:
9393

9494
```powershell
95-
Connect-ExchangeOnline -ManagedIdentity -Organization <YourDomain>.onmicrosoft.com -ManagedIdentityAccountId <UserAssignedManagedIdentityPrincipalIdValue>
95+
Connect-ExchangeOnline -ManagedIdentity -Organization <YourDomain>.onmicrosoft.com -ManagedIdentityAccountId <UserAssignedManagedIdentityClientIdValue>
9696
```
9797

98-
You get the \<UserAssignedManagedIdentityPrincipalIdValue\> value from [Step 3: Store the user-assigned managed identity in a variable](#step-3-store-the-user-assigned-managed-identity-in-a-variable).
98+
You get the \<UserAssignedManagedIdentityClientIdValue\> value from [Step 3: Store the user-assigned managed identity in a variable](#step-3-store-the-user-assigned-managed-identity-in-a-variable).
9999

100100
The rest of this section explains how to connect using supported Azure resources. For example:
101101

@@ -134,7 +134,7 @@ After you've successfully created the PowerShell runbook, do the following steps
134134
In a Windows PowerShell window in the Azure VM, use the command as described in the beginning of this section. For example:
135135

136136
```powershell
137-
$MI_ID = (Get-AzUserAssignedIdentity -Name "ContosoMI1" -ResourceGroupName "ContosoRG2").PrincipalId
137+
$MI_ID = (Get-AzUserAssignedIdentity -Name "ContosoMI1" -ResourceGroupName "ContosoRG2").ClientId
138138
139139
Connect-ExchangeOnline -ManagedIdentity -Organization contoso.onmicrosoft.com -ManagedIdentityAccountId $MI_ID
140140
```
@@ -518,10 +518,10 @@ For instructions, see the following articles:
518518

519519
### Step 3: Store the user-assigned managed identity in a variable
520520

521-
Use the following syntax in [Azure Az PowerShell](/powershell/azure/install-az-ps) to store the PrincipalId value of the user-assigned managed identity in variable that you'll use in the upcoming steps:
521+
Use the following syntax in [Azure Az PowerShell](/powershell/azure/install-az-ps) to store the ClientId value of the user-assigned managed identity in variable that you'll use in the upcoming steps:
522522

523523
```powershell
524-
$MI_ID = (Get-AzUserAssignedIdentity -Name "<UserAssignedMI>" -ResourceGroupName "<MIResourceGroupName>").PrincipalId
524+
$MI_ID = (Get-AzUserAssignedIdentity -Name "<UserAssignedMI>" -ResourceGroupName "<MIResourceGroupName>").ClientId
525525
```
526526

527527
- \<UserAssignedMI\> is the name of the user-assigned managed identity.
@@ -530,7 +530,7 @@ $MI_ID = (Get-AzUserAssignedIdentity -Name "<UserAssignedMI>" -ResourceGroupName
530530
For example:
531531

532532
```powershell
533-
$MI_ID = (Get-AzUserAssignedIdentity -Name "ContosoMI1" -ResourceGroupName "ContosoRG2").PrincipalId
533+
$MI_ID = (Get-AzUserAssignedIdentity -Name "ContosoMI1" -ResourceGroupName "ContosoRG2").ClientId
534534
```
535535

536536
To verify that the variable was captured successfully, run the command `$MI_ID`. The output should be a GUID value (for example, bf6dcc76-4331-4942-8d50-87ea41d6e8a1).

exchange/exchange-ps/exchange/Enable-DistributionGroup.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ The Enable-DistributionGroup cmdlet mail-enables existing universal security gro
3636

3737
You need to be assigned permissions before you can run this cmdlet. Although this topic lists all parameters for the cmdlet, you may not have access to some parameters if they're not included in the permissions assigned to you. To find the permissions required to run any cmdlet or parameter in your organization, see [Find the permissions required to run any Exchange cmdlet](https://learn.microsoft.com/powershell/exchange/find-exchange-cmdlet-permissions).
3838

39+
In Exchange Server, the [CommonParameters](https://go.microsoft.com/fwlink/p/?LinkID=113216) InformationVariable and InformationAction don't work.
40+
3941
## EXAMPLES
4042

4143
### Example 1

exchange/exchange-ps/exchange/Enable-Mailbox.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -274,6 +274,8 @@ When mailbox-enabling an existing user, beware of non-supported characters in th
274274

275275
You need to be assigned permissions before you can run this cmdlet. Although this topic lists all parameters for the cmdlet, you may not have access to some parameters if they're not included in the permissions assigned to you. To find the permissions required to run any cmdlet or parameter in your organization, see [Find the permissions required to run any Exchange cmdlet](https://learn.microsoft.com/powershell/exchange/find-exchange-cmdlet-permissions).
276276

277+
In Exchange Server, the [CommonParameters](https://go.microsoft.com/fwlink/p/?LinkID=113216) InformationVariable and InformationAction don't work.
278+
277279
## EXAMPLES
278280

279281
### Example 1

exchange/exchange-ps/exchange/New-DistributionGroup.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,8 @@ Distribution groups are used to consolidate groups of recipients into a single p
6161

6262
You need to be assigned permissions before you can run this cmdlet. Although this topic lists all parameters for the cmdlet, you may not have access to some parameters if they're not included in the permissions assigned to you. To find the permissions required to run any cmdlet or parameter in your organization, see [Find the permissions required to run any Exchange cmdlet](https://learn.microsoft.com/powershell/exchange/find-exchange-cmdlet-permissions).
6363

64+
In Exchange Server, the [CommonParameters](https://go.microsoft.com/fwlink/p/?LinkID=113216) InformationVariable and InformationAction don't work.
65+
6466
## EXAMPLES
6567

6668
### Example 1

exchange/exchange-ps/exchange/New-Mailbox.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -764,6 +764,8 @@ New-Mailbox [-Name] <String> [-SupervisoryReviewPolicy]
764764
## DESCRIPTION
765765
You need to be assigned permissions before you can run this cmdlet. Although this topic lists all parameters for the cmdlet, you may not have access to some parameters if they're not included in the permissions assigned to you. To find the permissions required to run any cmdlet or parameter in your organization, see [Find the permissions required to run any Exchange cmdlet](https://learn.microsoft.com/powershell/exchange/find-exchange-cmdlet-permissions).
766766

767+
In Exchange Server, the [CommonParameters](https://go.microsoft.com/fwlink/p/?LinkID=113216) InformationVariable and InformationAction don't work.
768+
767769
## EXAMPLES
768770

769771
### Example 1

exchange/exchange-ps/exchange/Remove-RecipientPermission.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ Accept wildcard characters: False
165165
```
166166

167167
### -SkipDomainValidationForMailContact
168-
{{ Fill SkipDomainValidationForMailContact Description }}
168+
The SkipDomainValidationForMailContact switch skips the check that confirms the proxy addresses of the external contact specified by the Identity parameter are in an accepted domain of the organization. You don't need to specify a value with this switch.
169169

170170
```yaml
171171
Type: SwitchParameter
@@ -181,7 +181,7 @@ Accept wildcard characters: False
181181
```
182182

183183
### -SkipDomainValidationForMailUser
184-
{{ Fill SkipDomainValidationForMailUser Description }}
184+
The SkipDomainValidationForMailUser switch skips the check that confirms the proxy addresses of the mail user specified by the Identity parameter are in an accepted domain of the organization. You don't need to specify a value with this switch.
185185

186186
```yaml
187187
Type: SwitchParameter
@@ -197,7 +197,7 @@ Accept wildcard characters: False
197197
```
198198

199199
### -SkipDomainValidationForSharedMailbox
200-
{{ Fill SkipDomainValidationForSharedMailbox Description }}
200+
The SkipDomainValidationForSharedMailbox switch skips the check that confirms the proxy addresses of the shared mailbox specified by the Identity parameter are in an accepted domain of the organization. You don't need to specify a value with this switch.
201201

202202
```yaml
203203
Type: SwitchParameter

0 commit comments

Comments
 (0)