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 / Internal Server Error ...
Power Automate
Answered

Internal Server Error when trying to Post/Patch to the SharePoint Admin Center

(0) ShareShare
ReportReport
Posted on by 4
 
I am trying to run a flow where it pushes data to the SharePoint admin center using Power Automate with the Microsoft.Online.SharePoint.TenantAdministration class, it had previously worked but it started to give me this internal server error a few days ago. I am still able to pull data from the admin center but pushing data is now being blocked. Could this be due to a security/policy change in the SharePoint Admin Center?
 
Thank you.
I have the same question (0)
  • Verified answer
    Sajeda_Sultana Profile Picture
    189 on at
     
    This looks like the request is reaching SharePoint Admin Center, but SharePoint is rejecting the write operation during the POST/MERGE call.
     
    Since you mentioned that GET still works but POST/PATCH/MERGE now fails, I would first check permissions and admin policy changes rather than the flow structure itself.
     
    A few things to verify:
    1. Make sure the account/connection used in Power Automate still has the required SharePoint Admin permissions.
    2. Confirm that the tenant has not had any recent security, Conditional Access, or admin center policy changes.
    3. Check whether the endpoint you are calling still supports the update operation you are trying to perform.
    4. Try the same request in Postman or Graph Explorer using the same account to confirm whether the issue is with Power Automate or with the SharePoint Admin API permission/policy.
    5. Also check the request body and headers. For a MERGE-style update, the headers and payload must match what the SharePoint Admin endpoint expects.
    Because the error is InternalServerError and the read operation still works, it may not be a syntax issue only. It could be that the account can still read from the admin center but no longer has permission to update, or a tenant-side policy is blocking write operations.
     
    I would also recommend checking the SharePoint Admin Center audit logs or asking the tenant admin if any recent changes were made to app permissions, admin roles, or security policies.
     
    ✅ If this helped solve your issue, please Accept as Solution so others can find it quickly.
     
    ❤️ If it didn’t fully solve it but was still useful, please click “Yes” on “Was this reply helpful?” or leave a Like :).
     
    🏷️ For follow-ups  @Sajeda_Sultana
  • Suggested answer
    11manish Profile Picture
    3,333 on at
    Start by capturing the full HTTP response body, status code, and correlation/request ID from a failed run. Since reads continue to work and writes suddenly
     
    stopped, the issue is more likely related to permissions, tenant governance, or a recent Microsoft service change than to a problem in your Power Automate flow
     
    logic itself. If the error persists and the correlation ID is available, opening a Microsoft support case with that ID will allow Microsoft to trace the failure in
     
    SharePoint Online telemetry.
  • Sajeda_Sultana Profile Picture
    189 on at
     
    Just following up to check if everything is working now. Let me know if you still need any help - I’m happy to assist.

    If the issue has been resolved, please consider marking the answer as solved so it can help others with a similar question.

    Thanks, and have a great day!
  • Suggested answer
    KS-22061817-0 Profile Picture
    4 on at
    It was a mistake on my part, the SharingCapability site setting that I tried to patch it to was more permissive than the tenant-level settings. I adjusted it to the proper value and it went through.

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 377

#2
11manish Profile Picture

11manish 279

#3
David_MA Profile Picture

David_MA 234 Super User 2026 Season 1

Last 30 days Overall leaderboard