Skip to content

Commit 53e0633

Browse files
authored
Adds space after metadata to test resolving schema errors.
1 parent 6ad83f7 commit 53e0633

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

sharepoint/sharepoint-ps/sharepoint-pnp/Connect-PnPOnline.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ external help file:
33
applicable: SharePoint Server 2013, SharePoint Server 2016, SharePoint Online
44
schema: 2.0.0
55
---
6+
67
# Connect-PnPOnline
78

89
## SYNOPSIS
@@ -243,7 +244,7 @@ If no credentials have been specified, and the CurrentCredentials parameter has
243244

244245
*For SharePoint Online*: If legacy authentication protocols have been disabled (i.e. When ```powershell(Get-PnPTenant).LegacyAuthProtocolsEnabled``` returns False), the connection attempt will fail with a message such as the following when using a generic credential object (such as that created by ```powershellGet-Credential```) or when using the default options, which prompts for a username and password within the shell:
245246

246-
Failed to connect to (site), Exception calling "ExecuteQuery" with "0" argument(s): "Cannot contact web site (site) or the web site does not support SharePoint Online credentials. The response status code is 'Unauthorized'. The response headers are 'X-SharePointHealthScore=0, X-MSDAVEXT_Error=917656; Access+denied.+Before+opening+files+in+this+location%2c+you+must+first+browse+to+the+web+site+and+select+the+option+to+login+automatically.
247+
>Failed to connect to (site), Exception calling "ExecuteQuery" with "0" argument(s): "Cannot contact web site (site) or the web site does not support SharePoint Online credentials. The response status code is 'Unauthorized'. The response headers are 'X-SharePointHealthScore=0, X-MSDAVEXT_Error=917656; Access+denied.+Before+opening+files+in+this+location%2c+you+must+first+browse+to+the+web+site+and+select+the+option+to+login+automatically.
247248
248249
Instead, ensure that you specify the appropriate options that support modern authentication, such as connections with the "-UseWebLogin" or "-PnPO365ManagementShell" parameters or certificate based authentication.
249250

0 commit comments

Comments
 (0)