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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / New SharePoint Site Owner
Power Automate
Unanswered

New SharePoint Site Owner

(0) ShareShare
ReportReport
Posted on by 110

I'm using the SharePoint HTTP request /_api/spsitemanager/create to create a new SharePoint site and it works fine if I use the "Owner" attribute as user@domain.com in the Body of the request. I would now like to specify an AAD Security Group as the owner of the site during it's creation. Is that possible?

Categories:
I have the same question (0)
  • Nived_Nambiar Profile Picture
    18,138 Super User 2026 Season 1 on at

    Hi @randomsky 

     

    I think that is possible. Specify group's email id there in owner field, hope that would works

     

    Mark it as solution if it resolves your query 🙂

     

  • randomsky Profile Picture
    110 on at

    @Nived_Nambiar , since this is a security group it doesn't have an associated email address. I tried using the AAD object ID of that security grou but it doesn't seem to work with that.

  • Nived_Nambiar Profile Picture
    18,138 Super User 2026 Season 1 on at

    Hi @randomsky 

     

    Did you add body in HTTP request like below

     

     

    {
     "request": {
     "__metadata": {
     "type": "SP.SPSiteCreationRequest"
     },
     "Title": "New Site",
     "Url": "https://contoso.sharepoint.com/sites/NewSite",
     "Description": "This is a new site",
     "SiteDesignId": "6142d2a0-63a5-4ba0-aede-d9fefca2c767",
     "WebTemplate": "STS#3",
     "TimeZoneId": 4,
     "OwnerIdentifier": "object-id-of-security-group"
     }
    }
    
    

     

    Add the object id in OwnerIdentifier field

     

     

    Hope this helps 🙂

  • randomsky Profile Picture
    110 on at

    @Nived_Nambiar , getting this error when I try using the above:

    The property '__metadata' does not exist on type 'Microsoft.SharePoint.Portal.SPSiteCreationRequest'. Make sure to only use property names that are defined by the type.

  • randomsky Profile Picture
    110 on at

    Managed to get this working by adding another step where I send a POST request to _api/web/SiteGroups(3)/Users with the ID of the AD group

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 796

#2
Valantis Profile Picture

Valantis 671

#3
Haque Profile Picture

Haque 551

Last 30 days Overall leaderboard