Skip to content

Commit e759eef

Browse files
authored
Updated to match output from Sam
1 parent 0b38670 commit e759eef

2 files changed

Lines changed: 32 additions & 60 deletions

File tree

sharepoint/sharepoint-ps/sharepoint-online/Get-SPOApplication.md

Lines changed: 6 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,7 @@ Returns a list of SharePoint Embedded applications in the specified tenant.
1919
## SYNTAX
2020

2121
```
22-
Get-SPOApplication [[-OwningApplicationId] <Guid>] [[-ApplicationId] <Guid>]
23-
[-ProgressAction <ActionPreference>] [<CommonParameters>]
22+
Get-SPOApplication [[-OwningApplicationId] <Guid>] [[-ApplicationId] <Guid>] [<CommonParameters>]
2423
```
2524

2625
### ParamSet1
@@ -104,13 +103,12 @@ The following details are returned:
104103
- CopilotEmbeddedChatHosts
105104

106105
```yaml
107-
Type: String
106+
Type: Guid
108107
Parameter Sets: (All)
109108
Aliases:
110-
Applicable: SharePoint
111109

112110
Required: False
113-
Position: Named
111+
Position: 0
114112
Default value: None
115113
Accept pipeline input: False
116114
Accept wildcard characters: False
@@ -121,28 +119,12 @@ Accept wildcard characters: False
121119
Use this parameter to enumerate app-only permissions of the guest application id with access to the specified owning application.
122120
123121
```yaml
124-
Type: String
125-
Parameter Sets: ParamSet2
126-
Aliases:
127-
Applicable: SharePoint
128-
129-
Required: False
130-
Position: Named
131-
Default value: None
132-
Accept pipeline input: False
133-
Accept wildcard characters: False
134-
```
135-
136-
### -ProgressAction
137-
Determines how PowerShell responds to progress updates generated by a script, cmdlet, or provider, such as the progress bars generated by the [Write-Progress](https://learn.microsoft.com/powershell/module/microsoft.powershell.utility/write-progress?view=powershell-7.5) cmdlet.
138-
139-
```yaml
140-
Type: ActionPreference
122+
Type: Guid
141123
Parameter Sets: (All)
142-
Aliases: proga
124+
Aliases:
143125

144126
Required: False
145-
Position: Named
127+
Position: 1
146128
Default value: None
147129
Accept pipeline input: False
148130
Accept wildcard characters: False

sharepoint/sharepoint-ps/sharepoint-online/Set-SPOApplication.md

Lines changed: 26 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ Sets or updates one or more configuration of a SharePoint Embedded application.
2020

2121
```
2222
Set-SPOApplication [-OwningApplicationId] <Guid> [[-SharingCapability] <SharingCapabilities>]
23-
[-OverrideTenantSharingCapability] <Boolean> [-CopilotEmbeddedChatHosts] <String> [-ProgressAction <ActionPreference>] [<CommonParameters>]
23+
[[-OverrideTenantSharingCapability] <Boolean>]
24+
[[-CopilotEmbeddedChatHosts] <System.Collections.Generic.List`1[System.String]>] [<CommonParameters>]
2425
```
2526

2627
### ParamSet1
@@ -80,19 +81,33 @@ This example sets the host URLs for the application with Id 423poi45.
8081

8182
## PARAMETERS
8283

84+
### -CopilotEmbeddedChatHosts
85+
86+
This parameter is used to add host URLs responsible for driving the Copilot embedded chat functionality in the SharePoint Embedded application.
87+
88+
```yaml
89+
Type: System.Collections.Generic.List`1[System.String]
90+
Parameter Sets: (All)
91+
Aliases:
92+
93+
Required: False
94+
Position: 3
95+
Default value: None
96+
Accept pipeline input: False
97+
Accept wildcard characters: False
98+
```
99+
83100
### -OwningApplicationId
84101
85102
This parameter specifies the ID of the SharePoint Embedded application.
86-
87103
88104
```yaml
89-
Type: String
105+
Type: Guid
90106
Parameter Sets: (All)
91107
Aliases:
92-
Applicable: SharePoint
93108

94-
Required: False
95-
Position: Named
109+
Required: True
110+
Position: 0
96111
Default value: None
97112
Accept pipeline input: False
98113
Accept wildcard characters: False
@@ -116,9 +131,10 @@ The default setting is None, meaning the application follows the SharePoint Onli
116131
Type: SharingCapabilities
117132
Parameter Sets: (All)
118133
Aliases:
119-
Applicable: SharePoint Embedded
134+
Accepted values: Disabled, ExternalUserSharingOnly, ExternalUserAndGuestSharing, ExistingExternalUserSharingOnly
135+
120136
Required: False
121-
Position: Named
137+
Position: 1
122138
Default value: None
123139
Accept pipeline input: False
124140
Accept wildcard characters: False
@@ -133,37 +149,11 @@ This setting allows the application to independently set its sharing capabilitie
133149

134150
```yaml
135151
Type: Boolean
136-
Applicable: SharePoint Embedded
137-
Required: False
138-
Position: Named
139-
Default value: False
140-
Accept pipeline input: False
141-
Accept wildcard characters: False
142-
```
143-
### -CopilotEmbeddedChatHosts
144-
145-
This parameter is used to add host URLs responsible for driving the Copilot embedded chat functionality in the SharePoint Embedded application.
146-
147-
```yaml
148-
Type: String
149-
Applicable: SharePoint Embedded
150-
Required: False
151-
Position: Named
152-
Default value: None
153-
Accept pipeline input: False
154-
Accept wildcard characters: False
155-
```
156-
157-
### -ProgressAction
158-
Determines how PowerShell responds to progress updates generated by a script, cmdlet, or provider, such as the progress bars generated by the [Write-Progress](https://learn.microsoft.com/powershell/module/microsoft.powershell.utility/write-progress?view=powershell-7.5) cmdlet.
159-
160-
```yaml
161-
Type: ActionPreference
162152
Parameter Sets: (All)
163-
Aliases: proga
153+
Aliases:
164154
165155
Required: False
166-
Position: Named
156+
Position: 2
167157
Default value: None
168158
Accept pipeline input: False
169159
Accept wildcard characters: False

0 commit comments

Comments
 (0)