Skip to content

Commit cb156db

Browse files
authored
Merge branch 'master' into patch-2
2 parents 9cd3c74 + 12e0cd8 commit cb156db

File tree

2 files changed

+13
-5
lines changed

2 files changed

+13
-5
lines changed

sharepoint/sharepoint-ps/sharepoint-online/Connect-SPOService.md

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ For permissions and the most current information about Windows PowerShell for Sh
5353
Connect-SPOService -Url https://contoso-admin.sharepoint.com -credential [email protected]
5454
```
5555

56-
Example 1 shows how a SharePoint Online global administrator with credential [email protected] connects to a SharePoint Online Administration Center that has the URL http://contoso-admin.sharepoint.com/.
56+
Example 1 shows how a SharePoint Online global administrator with credential [email protected] connects to a SharePoint Online Administration Center that has the URL http://contoso-admin.sharepoint.com.
5757

5858

5959
### -----------------------EXAMPLE 2-----------------------------
@@ -62,11 +62,18 @@ Example 1 shows how a SharePoint Online global administrator with credential adm
6262
$username = "[email protected]"
6363
$password = "password"
6464
$cred = New-Object -TypeName System.Management.Automation.PSCredential -argumentlist $userName, $(convertto-securestring $Password -asplaintext -force)
65-
Connect-SPOService -Url https://contoso-admin.sharepoint.com/ -Credential $cred
65+
Connect-SPOService -Url https://contoso-admin.sharepoint.com -Credential $cred
6666
```
6767

68-
Example 2 shows how a SharePoint Online global administrator with a username and password connects to a SharePoint Online Administration Center that has the URL http://contoso-admin.sharepoint.com/.
68+
Example 2 shows how a SharePoint Online global administrator with a username and password connects to a SharePoint Online Administration Center that has the URL http://contoso-admin.sharepoint.com.
6969

70+
### -----------------------EXAMPLE 3-----------------------------
71+
72+
```
73+
Connect-SPOService -Url https://contoso-admin.sharepoint.com
74+
```
75+
76+
Prompts for credentials. This is required if the account is using multi-factor authentication.
7077

7178
## PARAMETERS
7279

@@ -178,4 +185,4 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
178185
179186
[Getting started with SharePoint Online Management Shell](https://docs.microsoft.com/en-us/powershell/sharepoint/sharepoint-online/connect-sharepoint-online?view=sharepoint-ps)
180187
181-
[Disconnect-SPOService](Disconnect-SPOService.md)
188+
[Disconnect-SPOService](Disconnect-SPOService.md)

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ Lists all hub sites found on the SharePoint tenant. If you provide **-Identity**
2222

2323
If the hub site doesn’t exist, this cmdlet returns a “File not found” error.
2424

25-
> [!NOTE] If a deleted hub site appears in the output of this cmdlet you may not have run [Unregister-SPOHubSite](https://docs.microsoft.com/en-us/powershell/module/sharepoint-online/unregister-spohubsite) on the deleted hub site.
25+
> [!NOTE]
26+
> If a deleted hub site appears in the output of this cmdlet you may not have run [Unregister-SPOHubSite](https://docs.microsoft.com/en-us/powershell/module/sharepoint-online/unregister-spohubsite) on the deleted hub site.
2627
2728
## EXAMPLES
2829

0 commit comments

Comments
 (0)