OfficeDev / microsoft-teams-apps-requestateam

Power Platform based solution that allows users to request teams and automates team creation.
MIT License
234 stars 65 forks source link

PnPOnline Cannot connect to Sharepoint site #156

Open RobertBondy opened 3 years ago

RobertBondy commented 3 years ago

This is the error:

TEAMS REQUESTS SITE CREATION

Creating Teams Requests SharePoint site... Error occured while creating of the SharePoint site: Cannot contact web site 'https://ccrhost.sharepoint.com/' or the web site does not support SharePoint Online credentials. The response status code is 'Unauthorized'. The response headers are 'X-SharePointHealthScore=2, 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., SPRequestGuid=55297d9f-8031-a000-4926-baf6104ed498, request-id=55297d9f-8031-a000-4926-baf6104ed498, MS-CV=n30pVTGAAKBJJrr2EE7UmA.0, Strict-Transport-Security=max-age=31536000, SPRequestDuration=25, SPIisLatency=0, MicrosoftSharePointTeamServices=16.0.0.20509, X-Content-Type-Options=nosniff, X-MS-InvokeApp=1; RequireReadOnly, X-MSEdge-Ref=Ref A: B56A4EA638DA4C9C847F489D12F6468D Ref B: CH1EDGE1015 Ref C: 2020-09-24T13:58:26Z, Content-Length=0, Content-Type=text/plain; charset=utf-8, Date=Thu, 24 Sep 2020 13:58:26 GMT, P3P=CP="ALL IND DSP COR ADM CONo CUR CUSo IVAo IVDo PSA PSD TAI TELo OUR SAMo CNT COM INT NAV ONL PHY PRE PUR UNI", X-Powered-By=ASP.NET'.

alexc-MSFT commented 3 years ago

@RobertBondy this might be down to the configuration of your tenant, please take a look here - https://www.undocumented-features.com/2019/12/02/resolved-sharepoint-online-web-site-does-not-support-sharepoint-online-credentials/