-
Notifications
You must be signed in to change notification settings - Fork 196
Connect-SPOService changes #915
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
bf7365f
Update Connect-SPOService.md
ShreyasSar26 f087b84
Update Connect-SPOService.md
ShreyasSar26 758938a
Merge branch 'main' into patch-1
ShreyasSar26 5d11a3a
Update Connect-SPOService.md
ShreyasSar26 39a26bc
Update Connect-SPOService.md
ShreyasSar26 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -5,8 +5,8 @@ online version: https://learn.microsoft.com/powershell/module/sharepoint-online/ | |
| applicable: SharePoint Online | ||
| title: Connect-SPOService | ||
| schema: 2.0.0 | ||
| author: trent-green | ||
| ms.author: trgreen | ||
| author: ShreyasSar26 | ||
| ms.author: shsaravanan | ||
| ms.reviewer: | ||
| --- | ||
|
|
||
|
|
@@ -20,22 +20,23 @@ This cmdlet must be run before any other SharePoint Online cmdlets can run. | |
| ## SYNTAX | ||
|
|
||
| ### AuthenticationUrl | ||
|
|
||
| ```powershell | ||
| Connect-SPOService -AuthenticationUrl <String> [-ClientTag <String>] [-Credential <CredentialCmdletPipeBind>] | ||
| -Url <UrlCmdletPipeBind> -ModernAuth <Boolean> [<CommonParameters>] | ||
| ``` | ||
| Connect-SPOService [-Url] <UrlCmdletPipeBind> [[-Credential] <CredentialCmdletPipeBind>] | ||
| [[-ClientTag] <String>] [-AuthenticationUrl] <String> [[-ModernAuth] <Boolean>] | ||
| [[-UseSystemBrowser] <Boolean>] [<CommonParameters>] | ||
| ``` | ||
|
|
||
| ### AuthenticationLocation | ||
|
|
||
| ```powershell | ||
| Connect-SPOService [-ClientTag <String>] [-Credential <CredentialCmdletPipeBind>] | ||
| [-Region <AADCrossTenantAuthenticationLocation>] -Url <UrlCmdletPipeBind> [<CommonParameters>] | ||
| ``` | ||
| Connect-SPOService [-Url] <UrlCmdletPipeBind> [[-Credential] <CredentialCmdletPipeBind>] | ||
| [[-ClientTag] <String>] [[-Region] <AADCrossTenantAuthenticationLocation>] [[-ModernAuth] <Boolean>] | ||
| [[-UseSystemBrowser] <Boolean>] [<CommonParameters>] | ||
| ``` | ||
|
|
||
| ## DESCRIPTION | ||
|
|
||
| The `Connect-SPOService` cmdlet connects a SharePoint Online administrator to the SharePoint Online Administration Center. | ||
| The `Connect-SPOService` cmdlet connects the SharePoint Online administrator or the SharePoint Embedded administrator to the SharePoint Online Administration Center. | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. update other places too |
||
|
|
||
| Only a single SharePoint Online service connection is maintained from any single Windows PowerShell session. | ||
| In other words, this is a per-geo within an organization administrator connection. | ||
|
|
@@ -44,7 +45,7 @@ The Windows PowerShell session will be set to serve the new SharePoint Online ad | |
|
|
||
| A delegated partner administrator has to swap connections for different organizations within the same Windows PowerShell session. | ||
|
|
||
| You must be a SharePoint Online administrator to run the cmdlet. | ||
| You must be a SharePoint Online administrator or a SharePoint Embedded administrator to run the cmdlet. | ||
|
|
||
| For permissions and the most current information about Windows PowerShell for SharePoint Online, see the online documentation at [Intro to SharePoint Online Management Shell](https://learn.microsoft.com/powershell/sharepoint/sharepoint-online/introduction-sharepoint-online-management-shell?view=sharepoint-ps). | ||
|
ShreyasSar26 marked this conversation as resolved.
|
||
|
|
||
|
|
@@ -92,6 +93,13 @@ Connect-SPOService -Credential $creds -Url https://tenant-admin.sharepoint.com - | |
| ``` | ||
| Connecting to SPO Service with ModernAuth Flag. | ||
|
|
||
| ### -----------------------EXAMPLE 6----------------------------- | ||
|
|
||
| ```powershell | ||
| Connect-SPOService -Url https://contoso-admin.sharepoint.com -UseSystemBrowser $true | ||
| ``` | ||
| Authenticates using the Microsoft Authentication Library (MSAL) and connects to the SharePoint Online Administration Center on successful authentication. | ||
|
|
||
| ## PARAMETERS | ||
|
|
||
| ### -AuthenticationUrl | ||
|
|
@@ -200,16 +208,26 @@ Default value: False | |
| Accept pipeline input: False | ||
| Accept wildcard characters: False | ||
| ``` | ||
| ### -UseSystemBrowser | ||
|
|
||
| ### CommonParameters | ||
| Used to authenticate the user using the Microsoft Authentication Library (MSAL). | ||
|
|
||
| This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](https://go.microsoft.com/fwlink/?LinkID=113216). | ||
| ```yaml | ||
| Type: Boolean | ||
| Parameter Sets: (All) | ||
| Aliases: | ||
| Applicable: SharePoint Online | ||
| Required: False | ||
| Position: 5 | ||
| Default value: None | ||
| Accept pipeline input: False | ||
| Accept wildcard characters: False | ||
| ``` | ||
|
|
||
| ## INPUTS | ||
| ### CommonParameters | ||
|
|
||
| ## OUTPUTS | ||
| This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](https://go.microsoft.com/fwlink/?LinkID=113216). | ||
|
|
||
|
ShreyasSar26 marked this conversation as resolved.
|
||
| ## NOTES | ||
|
|
||
| ## RELATED LINKS | ||
|
|
||
|
|
||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.