Home

New Communication Site > Exception Access Denied [SOLVED]

%3CLINGO-SUB%20id%3D%22lingo-sub-89867%22%20slang%3D%22en-US%22%3ENew%20Communication%20Site%20%26gt%3B%20Exception%20Access%20Denied%20%5BSOLVED%5D%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-89867%22%20slang%3D%22en-US%22%3E%3CP%3EHi!%3C%2FP%3E%3CP%3EI'm%20trying%20to%20create%20a%20new%20Communication%20Site%20in%20my%20tenant.%3C%2FP%3E%3CP%3EI%20see%20option%20for%20create%20this%20site%2C%20I%20compiled%20fields%20and%20it%20says%20is%20ok%20to%20proceed.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EBut%2C%20when%20I%20click%20on%20finish%2C%20browser%20sent%20message%20to%20exit%20or%20remain%20in%20page%20and%20in%20every%20case%2C%20it%20broke%20page%20with%20%22Unable%20to%20reach%20https%3A%2F%2F_layouts%20page%22%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20searched%20for%20call%20in%20F12%20and%20found%20this%3A%3C%2FP%3E%3CP%3EPOST%20to%26nbsp%3Bhttps%3A%2F%2F%5Btenant%5D.sharepoint.com%2F_api%2Fsitepages%2Fpublishingsite%2Fcreate%3C%2FP%3E%3CP%3EERROR%20%3A%3C%2FP%3E%3CP%3Ecode%20%26gt%3B%20-2147024891%2C%20System.UnauthorizedAccessException%3CBR%20%2F%3Emessage%20%26gt%3BAccess%20Denied%2C%20etc%20etc%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EMy%20account%20is%20tenant%20administrator.%3C%2FP%3E%3CP%3EI've%20checked%20licence%20and%20it's%20all%20ok.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ETryed%20with%20all%20browser%20(edge%2C%20ie11%2C%20chrome).%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAny%20Ideas%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThankyouguys!%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSTRONG%3EEDIT%3A%20Solution%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3EThe%20problem%20was%20access%20denied%20on%20root%20site%20collection%20of%20tenant..%3C%2FP%3E%3CP%3EMysteriously%2C%20even%20if%20I%20navigate%20without%20problems%20to%20https%3A%2F%2F%5Btenant%5D.sharepoint.com%2F_layouts%2Fsharepoint.aspx%2C%20call%20to%20https%3A%2F%2F%5Btenant%5D.sharepoint.com%2F_api%2Fsitepages%2Fetc..%20was%20forbidden.%3C%2FP%3E%3CP%3EIf%20I%20navigate%20to%20https%3A%2F%2F%5Btenant%5D.sharepoint.com%2F%20my%20account%20receives%20access%20denied.%3C%2FP%3E%3CP%3ESo%2C%20I%20give%20Site%20Collection%20Administrator%20rights%20to%20my%20user%20(with%20SharePoint%20Administration)%20and%20my%20new%20Communication%20Site%20is%20here!%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-89867%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EPermissions%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESharePoint%20Online%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESites%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-89956%22%20slang%3D%22en-US%22%3ERe%3A%20New%20Communication%20Site%20%26gt%3B%20Exception%20Access%20Denied%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-89956%22%20slang%3D%22en-US%22%3EOpened..%20%3A)%3C%2Fimg%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-89926%22%20slang%3D%22en-US%22%3ERe%3A%20New%20Communication%20Site%20%26gt%3B%20Exception%20Access%20Denied%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-89926%22%20slang%3D%22en-US%22%3ETime%20to%20open%20a%20support%20ticket%20I%20guess....I%20have%20not%20seen%20this%20problem%20when%20creating%20a%20Communication%20Site%3C%2FLINGO-BODY%3E
Highlighted
Occasional Contributor

Hi!

I'm trying to create a new Communication Site in my tenant.

I see option for create this site, I compiled fields and it says is ok to proceed.

 

But, when I click on finish, browser sent message to exit or remain in page and in every case, it broke page with "Unable to reach https://_layouts page"

 

I searched for call in F12 and found this:

POST to https://[tenant].sharepoint.com/_api/sitepages/publishingsite/create

ERROR :

code > -2147024891, System.UnauthorizedAccessException
message >Access Denied, etc etc

 

My account is tenant administrator.

I've checked licence and it's all ok.

 

Tryed with all browser (edge, ie11, chrome).

 

Any Ideas?

 

Thankyouguys!

 

EDIT: Solution

The problem was access denied on root site collection of tenant..

Mysteriously, even if I navigate without problems to https://[tenant].sharepoint.com/_layouts/sharepoint.aspx, call to https://[tenant].sharepoint.com/_api/sitepages/etc.. was forbidden.

If I navigate to https://[tenant].sharepoint.com/ my account receives access denied.

So, I give Site Collection Administrator rights to my user (with SharePoint Administration) and my new Communication Site is here!

 

 

2 Replies
Highlighted
Time to open a support ticket I guess....I have not seen this problem when creating a Communication Site
Highlighted
Related Conversations
Tailored Access database- where to order
masha2020 in Access on
1 Replies
Creating a live connection with Microsoft Planner
kasandra in Planner on
2 Replies
Sequencing based on the Value
rolo1007 in Access on
3 Replies
How to start a access web database
Leber01 in Access on
1 Replies