From b52e3d3c1ff17be90ba56b44c23e3b653f342273 Mon Sep 17 00:00:00 2001 From: ShreyasSar26 <136049061+ShreyasSar26@users.noreply.github.com> Date: Wed, 17 Sep 2025 21:50:36 +0530 Subject: [PATCH 1/3] Update Set-SPOContainerUser.md --- .../Set-SPOContainerUser.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Set-SPOContainerUser.md b/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Set-SPOContainerUser.md index 8e8901603..e40cd99d1 100644 --- a/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Set-SPOContainerUser.md +++ b/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Set-SPOContainerUser.md @@ -40,7 +40,7 @@ For permissions and the most current information about Windows PowerShell for Sh ### Example 1 ```powershell -Set-SPOContainerUser 423poi45 -LoginName shras@contoso.com-Role Manager +Set-SPOContainerUser 423poi45 -LoginName shras@contoso.com -Role Manager ``` Example 1 reassigns the role of User Principal Name "shras@contoso.com" to manager. From aede000644720cd701de2ec5aebe267d442bab7e Mon Sep 17 00:00:00 2001 From: ShreyasSar26 <136049061+ShreyasSar26@users.noreply.github.com> Date: Wed, 17 Sep 2025 21:51:46 +0530 Subject: [PATCH 2/3] Update Add-SPOContainerUser.md --- .../Add-SPOContainerUser.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Add-SPOContainerUser.md b/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Add-SPOContainerUser.md index 2346cdc82..fed191355 100644 --- a/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Add-SPOContainerUser.md +++ b/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Add-SPOContainerUser.md @@ -41,7 +41,7 @@ For permissions and the most current information about Windows PowerShell for Sh ### Example 1 ```powershell -Add-SPOContainerUser 423poi45 -LoginName shras@contoso.com-Role Owner +Add-SPOContainerUser 423poi45 -LoginName shras@contoso.com -Role Owner ``` Example 1 assigns the role of owner to user with User Principal Name "shras@contoso.com". From c736365c4b24d80bc17d634968f97547b23d37d7 Mon Sep 17 00:00:00 2001 From: ShreyasSar26 <136049061+ShreyasSar26@users.noreply.github.com> Date: Wed, 17 Sep 2025 21:52:15 +0530 Subject: [PATCH 3/3] Correct command syntax in Remove-SPOContainerUser.md Fixed formatting in example command for clarity. --- .../Remove-SPOContainerUser.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Remove-SPOContainerUser.md b/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Remove-SPOContainerUser.md index 5c1cb1789..f35802066 100644 --- a/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Remove-SPOContainerUser.md +++ b/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Remove-SPOContainerUser.md @@ -39,7 +39,7 @@ For permissions and the most current information about Windows PowerShell for Sh ### Example 1 ```powershell -Remove-SPOContainerUser 423poi45 -LoginName shras@contoso.com-Role Owner +Remove-SPOContainerUser 423poi45 -LoginName shras@contoso.com -Role Owner ``` Example 1 removes the user with User Principal Name "shras@contoso.com" from the role of an owner of container whose ContainerId is 423poi45 .