cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
wackawacka
Advocate II
Advocate II

Sharepoint add domain to whitelist

trying to add a domain to the whitelist of a site which the code runs and works adding to the site in the back end but it doesn't add it to the front end so the person (external) doesn't have access as the domain is still blocked? 

 

 

 

 

{
"SharingCapability":1,
"DefaultLinkPermission":0,
"DefaultSharingLinkType":0,
"SharingDomainRestrictionMode":1,
"SharingAllowedDomainList":"@{variables('Domain')}"
}

 

 

 

 

above is run, tried to set SharingDomainRestrictionMode to 0 then send another to above but still doesnt work?!?!?! its driving me insane!! when i run a http request to query the list it returns the domains with the one i added in but when i manually go into the admin center to see the domain in the list its not there? what am i possibly missing here? 

wackawacka_0-1655461124550.png

 

1 ACCEPTED SOLUTION

Accepted Solutions
wackawacka
Advocate II
Advocate II
2 REPLIES 2
wackawacka
Advocate II
Advocate II

just to update i have tested out by writing a test domain overwriting the default and it does overwrite but its not reflected as i get this warning: 

 

wackawacka_0-1655464367357.png

and

wackawacka_1-1655464405479.png

 

if i was to click on "add domain" it would just reset back to the parent level domain list! ARRRRHHHHHHH... is there any way to amend the parent level list instead of at the site level??????

 
wackawacka
Advocate II
Advocate II

Helpful resources

Announcements
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Community Calls Conversations

Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Users online (4,921)