The process of building custom applications and tools that interact with Microsoft SharePoint, including SharePoint Online in Microsoft 365.
Hi @Dan Jones ,
Sorry, the previous reply was wrong. It should be related to SharePoint development, not Graph. I've made corrections to my previous answer. I have conducted research and testing with our colleagues responsible for development. You probably used the wrong site ID. Now I present our complete testing steps. You can compare your own steps and make modifications.
1, The site used for test:
2, Get the site ID. Here I use graph to obtain it, you can refer to it.
Go to Graph Explorer, and input like this: https://graph.microsoft.com/v1.0/sites/tenant.sharepoint.com:/sites/sitename?$select=id
Then put the site ID into the body.
Run the flow and get success:
Double check the site has been deleted:
Hope this helps.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.