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 / Root element is missing
Power Automate
Answered

Root element is missing

(3) ShareShare
ReportReport
Posted on by 20
Greetings all,

Based on the article here Set a SharePoint Group owner with Power Automate - ESPC Conference, 2025 , a few months ago I built out  a solution that selects a group and inputs it as the owner in another group.

This was working as intended,  until a few days ago when I started receiving the following error.
[
  {
    "SchemaVersion""15.0.0.0",
    "LibraryVersion""16.0.25926.12009",
    "ErrorInfo": {
      "ErrorMessage""Root element is missing.",
      "ErrorValue"null,
      "TraceCorrelationId""f67793a1-f01d-9000-6f9f-900eeaf4a26d",
      "ErrorCode"-1,
      "ErrorTypeName""System.Xml.XmlException"
    },
    "TraceCorrelationId""f67793a1-f01d-9000-6f9f-900eeaf4a26d"
  }
]

The extremely weird thing is nothing was changed from my/our end, one day it just stopped working. I have done extensive research and looked everywhere but to no avail. If anyone has any suggestions on how this might be resolved it would be extremely appreciated.

Kind Regards,
Giannis
Screenshot 2025-04-14 132453.png
Categories:
I have the same question (0)
  • Expiscornovus Profile Picture
    33,830 Most Valuable Professional on at

    Have you double checked the outputs of your Compose. Can you make sure it is using the right ids for the created group, owners group and site id?
     
    Can you also share that xml as a code snippet? This will help troubleshooting.
     



     
    Happy to help out 😁

    I share more #PowerAutomate and #SharePointOnline content on my Blog, Bluesky profile or Youtube Channel
  • gikoukounas Profile Picture
    20 on at
    Hello @Expiscornovus,

    Indeed, I have checked the Ids and they are correct. The site Id is initialized at the beginning of the flow and is correct. The groups I create with the flow and then parse json to extract the ID. In the following code snippet, because my user is inputted as the owner, I change the group owner to the group itself, that is why it is the same id in both groups. Let me know if you see anything unusual. Again, this used to work just fine up until a some days ago.
     
    Screenshot 2025-04-15 104254.png
  • ronaldwalcott Profile Picture
    3,862 Moderator on at
    It would be helpful if you showed your flow,
  • gikoukounas Profile Picture
    20 on at
    @ronaldwalcott

    Just posted in another update, here is the basic flow

  • Verified answer
    Expiscornovus Profile Picture
    33,830 Most Valuable Professional on at
     
    Can you remove the comment lines from the xml and try again?
     



     
    Happy to help out 😁

    I share more #PowerAutomate and #SharePointOnline content on my Blog, Bluesky profile or Youtube Channel
  • gikoukounas Profile Picture
    20 on at
    @Expiscornovus you are a life saver.

    It did not cross my mind to do so, as the comments have always been there. Very curious one day they started affecting the flow's performance even though they previously did not.

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 March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 605

#2
Valantis Profile Picture

Valantis 340

#3
11manish Profile Picture

11manish 284

Last 30 days Overall leaderboard