Skip to content

Commit 6687c33

Browse files
authored
Merge pull request MicrosoftDocs#9931 from Hank-TNguyen/main
Sync-CsOnlineApplicationInstance is not required
2 parents 4bb6a2b + e071700 commit 6687c33

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

skype/skype-ps/skype/Sync-CsOnlineApplicationInstance.md

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ ms.reviewer:
1313
# Sync-CsOnlineApplicationInstance
1414

1515
## SYNOPSIS
16-
Use the Sync-CsOnlineApplicationInstance cmdlet to sync the application instance from Azure Active Directory into Agent Provisioning Service.
16+
Use the Sync-CsOnlineApplicationInstance cmdlet to sync the application instance from Azure Active Directory into Agent Provisioning Service. This is needed because the mapping between application instance and application needs to be stored in Agent Provisioning Service. If an application ID was provided at the creation of the application instance, you need not run this cmdlet.
1717

1818
## SYNTAX
1919

@@ -29,10 +29,19 @@ Use the Sync-CsOnlineApplicationInstance cmdlet to sync application instances fr
2929

3030
### -------------------------- Example 1 --------------------------
3131
```powershell
32-
Sync-CsOnlineApplicationInstance -ObjectId 00000000-0000-0000-0000-000000000000
32+
Sync-CsOnlineApplicationInstance -ObjectId xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx -ApplicationId yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyyyyyy
3333
```
3434

35-
This example sync application instance with object id "00000000-0000-0000-0000-000000000000" into Agent Provisioning Service.
35+
This example sync application instance with object ID "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" and application ID "yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyyyyyy" into Agent Provisioning Service.
36+
37+
### -------------------------- Example 2 --------------------------
38+
```powershell
39+
Sync-CsOnlineApplicationInstance -ObjectId xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx -ApplicationId 00000000-0000-0000-0000-000000000000
40+
```
41+
This command is helpful when there's already a mapping in Agent Provisioning Service and you want to set a different app ID value. In this case, when running the cmdlet in example 1, you will see `Sync-CsOnlineApplicationInstance : An item with the same key has already been added.`.
42+
43+
The command removes the mapping for application instance with object ID "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx". Run the example cmdlet again to create the mapping in Agent Provisioning Service.
44+
3645

3746
## PARAMETERS
3847

0 commit comments

Comments
 (0)