You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For any parameters that are passed in, the `Set-SPOContainer` cmdlet sets or updates the setting for the active container identified by the parameter `Identity`. The cmdlet throws an error if the identity of an archived container is provided.
59
+
For any parameters that are passed in, the `Set-SPOContainer` cmdlet sets or updates the setting for the active container identified by the parameter `Identity`. The cmdlet throws an error if the identity of an archived container is provided. The principal owner transfer operation is supported only for containers that are user-owned. Attempting to perform this operation on containers that are tenant-owned or group-owned will result in an error.
60
+
61
+
> [!IMPORTANT]
62
+
> Always wait for the current principal owner transfer attempt to finish before reusing the cmdlet. Concurrent or premature reuse can lead to incomplete or invalid ownership changes.
63
+
>
56
64
57
65
You must be a SharePoint Embedded Administrator to run the cmdlet.
58
66
@@ -182,6 +190,21 @@ Accept pipeline input: False
182
190
Accept wildcard characters: False
183
191
```
184
192
193
+
### -ExistingPrincipalOwner
194
+
The current principal owner of the container.
195
+
196
+
```yaml
197
+
Type: String
198
+
Parameter Sets: PrincipalOwnerTransfer
199
+
Aliases:
200
+
201
+
Required: True
202
+
Position: Named
203
+
Default value: None
204
+
Accept pipeline input: False
205
+
Accept wildcard characters: False
206
+
```
207
+
185
208
### -Identity
186
209
187
210
Use this parameter to specify the container url.
@@ -220,6 +243,20 @@ Accept pipeline input: False
220
243
Accept wildcard characters: False
221
244
```
222
245
246
+
### -NewPrincipalOwner
247
+
The new user to whom a user-owned container's lifecycle will be tied to.
248
+
```yaml
249
+
Type: String
250
+
Parameter Sets: PrincipalOwnerTransfer
251
+
Aliases:
252
+
253
+
Required: True
254
+
Position: Named
255
+
Default value: None
256
+
Accept pipeline input: False
257
+
Accept wildcard characters: False
258
+
```
259
+
223
260
### -ReadOnlyForBlockDownloadPolicy
224
261
Controls if read-only should be enabled for block download policy.
0 commit comments