Skip to content

Commit b8490c8

Browse files
authored
Merge pull request MicrosoftDocs#5611 from satadrubiswasmsft/master
Add examples to Add-TeamsAppInstallation and Update-TeamsAppInstallation
2 parents fcd8136 + d1068b8 commit b8490c8

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

teams/teams-ps/teams/Add-TeamsAppInstallation.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,13 @@ PS C:\> Add-TeamsAppInstallation -AppId b9cc7986-dd56-4b57-ab7d-9c4e5288b775 -Te
4040

4141
This example adds a Teams App to Microsoft Teams.
4242

43+
### Example 2
44+
```powershell
45+
PS C:\> Add-TeamsAppInstallation -AppId b9cc7986-dd56-4b57-ab7d-9c4e5288b775 -TeamId 31f1ff6c-d48c-4f8a-b2e1-abca7fd399df -Permissions "TeamSettings.Read.Group ChannelMessage.Read.Group"
46+
```
47+
48+
This example adds a Teams App to Microsoft Teams with RSC Permissions.
49+
4350
## PARAMETERS
4451

4552
### -AppId

teams/teams-ps/teams/Update-TeamsAppInstallation.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,13 @@ PS C:\> Update-TeamsAppInstallation -AppId b9cc7986-dd56-4b57-ab7d-9c4e5288b775
4242

4343
This example updates a Teams App in Microsoft Teams specifying its AppId and TeamId.
4444

45+
### Example 2
46+
```powershell
47+
PS C:\> Update-TeamsAppInstallation -AppId b9cc7986-dd56-4b57-ab7d-9c4e5288b775 -TeamId 31f1ff6c-d48c-4f8a-b2e1-abca7fd399df -Permissions "TeamSettings.Read.Group ChannelMessage.Read.Group"
48+
```
49+
50+
This example updates a Teams App in Microsoft Teams specifying its AppId and TeamId and RSC Permissions.
51+
4552
## PARAMETERS
4653

4754
### -AppId

0 commit comments

Comments
 (0)