Skip to content

Commit 26b57c3

Browse files
authored
Merge pull request MicrosoftDocs#2109 from expiscornovus/patch-3
Update Add-SPOGeoAdministrator.md
2 parents 6d4e1c7 + 39eb774 commit 26b57c3

File tree

1 file changed

+24
-22
lines changed

1 file changed

+24
-22
lines changed

sharepoint/sharepoint-ps/sharepoint-online/Add-SPOGeoAdministrator.md

Lines changed: 24 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -9,33 +9,19 @@ schema: 2.0.0
99

1010
## SYNOPSIS
1111

12-
Adds a new SharePoint user or security Group as Get-Administrator of the current Multi-Geo Tenant.
12+
Adds a new SharePoint user or security Group as GeoAdministrator of the current Multi-Geo Tenant.
1313

1414

1515
## SYNTAX
1616

1717
```powershell
1818
Add-SPOGeoAdministrator
19-
-Title <string>
20-
-WebTemplate <string>
21-
-SiteScripts <SPOSiteScriptPipeBind[]>
22-
[-Description <string>]
23-
[-PreviewImageUrl <string>]
24-
[-PreviewImageAltText <string>]
25-
[-IsDefault]
19+
-UserPrincipalName <string>
20+
-GroupAlias <string>
21+
-ObjectId <guid>
2622
[<CommonParameters>]
2723
```
2824

29-
### Group
30-
```
31-
Add-SPOGeoAdministrator [-Group] <String> [<CommonParameters>]
32-
```
33-
34-
### User
35-
```
36-
Add-SPOGeoAdministrator [-User] <String> [<CommonParameters>]
37-
```
38-
3925
## DESCRIPTION
4026
This Cmdlet requires a connection to a multi-geo tenant to run correctly. You must be a SharePoint Online global Administrator to run this script and allows you to add a user or group in the SharePoint Tenant as GeoAdministrator
4127

@@ -44,14 +30,14 @@ This Cmdlet requires a connection to a multi-geo tenant to run correctly. You mu
4430

4531
### EXAMPLE 1
4632
```powershell
47-
Add-SPOGeoAdministrator -user contosoadmin
33+
Add-SPOGeoAdministrator -UserPrincipalName [email protected]
4834
```
49-
Add the user contosoadmin to the SharePoint Online multi-geo tenant
35+
Add a user as admin to the SharePoint Online multi-geo tenant
5036

5137

5238
## PARAMETERS
5339

54-
### -Group
40+
### -GroupAlias
5541
PARAMVALUE: String
5642

5743

@@ -68,7 +54,23 @@ Accept pipeline input: False
6854
Accept wildcard characters: False
6955
```
7056
71-
### -User
57+
### -ObjectId
58+
PARAMVALUE: Guid
59+
60+
61+
```yaml
62+
Type: Guid
63+
Parameter Sets: ObjectId
64+
Aliases:
65+
Applicable: SharePoint Online
66+
67+
Required: True
68+
Position: 0
69+
Default value: None
70+
Accept pipeline input: False
71+
Accept wildcard characters: False
72+
```
73+
### -UserPrincipalName
7274
PARAMVALUE: String
7375
7476

0 commit comments

Comments
 (0)