Skip to content

Commit 067716c

Browse files
authored
Merge pull request #11540 from TariqSharif-MSFT/patch-3
Update Set-AvailabilityConfig.md
2 parents 0a6de19 + 2cdd54c commit 067716c

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

exchange/exchange-ps/exchange/Set-AvailabilityConfig.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ The Set-AvailabilityConfig cmdlet defines two accounts or security groups: a per
3636

3737
For cross-forest availability services to retrieve free/busy information in the current forest, they must be using one of the specified accounts, belong to one of the specified security groups, or have a username and password for one of the specified accounts or security groups.
3838

39+
In Exchange Online, this cmdlet lets you update the set of tenant ids that free/busy information sharing is allowed with.
40+
3941
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).
4042

4143
## EXAMPLES
@@ -54,12 +56,23 @@ Set-AvailabilityConfig -OrgWideAccount <ExampleCredentials>
5456

5557
This example is useful if the remote forest isn't trusted. Because this account is used for a cross-forest free/busy proxy account or group, minimize security vulnerabilities by using the credentials of a user who doesn't have an Exchange mailbox. When you're prompted, type the username and password.
5658

59+
### Example 3
60+
```powershell
61+
Set-AvailabilityConfig -AllowedTenantIds "d6b0a40e-029b-43f2-9852-f3724f68ead9","87d5bade-cefc-4067-a221-794aea71922d"
62+
```
63+
64+
In this example for Exchange Online, the availability config is modified to allow free/busy sharing only with the specified tenants.
65+
5766
## PARAMETERS
5867

5968
### -AllowedTenantIds
6069
This parameter is available only in the cloud-based service.
6170

62-
{{ Fill AllowedTenantIds Description }}
71+
The AllowedTenantIds parameter specifies the tenant ID values of Microsoft 365 organization that you want to share free/busy information with (for example, d6b0a40e-029b-43f2-9852-f3724f68ead9). You can specifiy multiple values separated by commas. A maximum of 25 values are allowed.
72+
73+
To replace all existing tenant IDs with the values you specify, use the following syntax: `"TenantID1","TenantID2",..."TenantID25"`.
74+
75+
To add or remove tenant IDs without affecting other existing values, use the following syntax: `@{Add="TenantID1","TenantID2",...; Remove="TenantID3","TenantID4",...}`.
6376

6477
```yaml
6578
Type: MultiValuedProperty

0 commit comments

Comments
 (0)