web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Sharepoint add domain ...
Power Automate
Answered

Sharepoint add domain to whitelist

(0) ShareShare
ReportReport
Posted on by 23

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

 

Categories:
I have the same question (0)
  • wackawacka Profile Picture
    23 on at

    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??????

     
  • Verified answer
    wackawacka Profile Picture
    23 on at

    answered my own question here: 

     

    adding approved domains into white list via rest and flow - SharePoint Stack Exchange

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 503 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 321 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard