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 / Use SCCM Online Report...
Power Automate
Unanswered

Use SCCM Online Reports for Flow actions

(0) ShareShare
ReportReport
Posted on by 252

Hi There

 

We are using Configuration Manager / SCCM and can access SQL Reports from the Browser Portal.

Now I got the Idea to use these Informations in Power Automate.

What I want to do is make a flow that runs a sql software report with a search parameter and use the result for adding the Users to a mailing list.

How do I get the report in?

 

Many Thanks

Categories:
I have the same question (0)
  • Dan47 Profile Picture
    252 on at

    Just found this:

    Power Query can read the atom file because it’s actually just a text file. You can open it in notepad and see it’s contents. It is an XML document that contains a URL. That URL can be used to download the report in your browser, but the encoding and formatting of it needs to be cleaned up a bit for Power Query to be able to use it. So save the atom file to your desktop, copy it’s file path, and paste it into the top line of the below query code. Run the query and BAM! The same data from the export to CSV option in SSRS should appear in Power Query.

    //let
     FilePath = "C:\Users\Jeremy\SSRS_Example.atomsvc",
     Source = Xml.Tables(File.Contents(FilePath)),
     Table0 = Source{0}[Table],
     Table = Table0{1}[Table],
     #"Changed Type" = Table.TransformColumnTypes(Table, {{"Attribute:href", type text}}),
     #"Attribute:href" = #"Changed Type"{0}[#"Attribute:href"],
     #"Clean Ampersands" = Text.Replace(#"Attribute:href", "amp;", ""),
     #"Change to CSV Format" = Text.Replace(#"Clean Ampersands", "Format=ATOM", "Format=csv"),
     Request = Excel.Workbook(Web.Contents(#"Change to CSV Format"))
    in
     //Request

    Source: How To Scrape SSRS Reports with Power Query – Spreadsheets 'N Things (jjohnson.org)

     

    Hope this helps to connect the dots. 

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 501 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 323 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard