<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Report on Report Server Folder Structure in Report Server</title>
    <link>https://community.fabric.microsoft.com/t5/Report-Server/Report-on-Report-Server-Folder-Structure/m-p/484402#M7012</link>
    <description>&lt;P&gt;Thanks for the answers, all very useful.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Used the rest-api call in the end using an odata connection to get the catalog items and developed from there:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;http://&amp;lt;myhost&amp;gt;/reports/api/v2.0/CatalogItems&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The documentation also mentions being able to retrieve the definition of the report&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;"Using the REST API, you can, for example, navigate the folder hierarchy, discover the contents of a folder, or &lt;STRONG&gt;download a report definition.&amp;nbsp;"&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But haven't found out a way of doing that yet - any ideas?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 08 Aug 2018 20:05:32 GMT</pubDate>
    <dc:creator>Reportex</dc:creator>
    <dc:date>2018-08-08T20:05:32Z</dc:date>
    <item>
      <title>Report on Report Server Folder Structure</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Report-on-Report-Server-Folder-Structure/m-p/479066#M6948</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is it possible for Power BI to report on itself?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to set up a PBI file that reports on the folder structures I have in my Report Server environments so that I can do comparisons between Dev/UAT/Prod etc.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is it possible?&lt;/P&gt;</description>
      <pubDate>Thu, 02 Aug 2018 15:19:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Report-on-Report-Server-Folder-Structure/m-p/479066#M6948</guid>
      <dc:creator>Reportex</dc:creator>
      <dc:date>2018-08-02T15:19:18Z</dc:date>
    </item>
    <item>
      <title>Re: Report on Report Server Folder Structure</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Report-on-Report-Server-Folder-Structure/m-p/482422#M6949</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="73239" data-lia-user-login="Reportex" class="lia-mention lia-mention-user"&gt;Reportex&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can try to utilize&amp;nbsp;Power BI report server rest API:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://docs.microsoft.com/en-us/power-bi/report-server/rest-api" target="_blank"&gt;https://docs.microsoft.com/en-us/power-bi/report-server/rest-api&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://app.swaggerhub.com/apis/microsoft-rs/PBIRS/2.0#/" target="_blank"&gt;https://app.swaggerhub.com/apis/microsoft-rs/PBIRS/2.0#/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Qiuyun Yu&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Aug 2018 09:37:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Report-on-Report-Server-Folder-Structure/m-p/482422#M6949</guid>
      <dc:creator>v-qiuyu-msft</dc:creator>
      <dc:date>2018-08-07T09:37:57Z</dc:date>
    </item>
    <item>
      <title>Re: Report on Report Server Folder Structure</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Report-on-Report-Server-Folder-Structure/m-p/482608#M6955</link>
      <description>&lt;P&gt;Another option would be to&amp;nbsp;connect directly&amp;nbsp;to the ReportServer database.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have a report on our server which queries the ReportServer database execution log, so we can see how many people are running the reports, seems to work very well.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We've connected the model in our report&amp;nbsp;to Active Directory in order to get full user details from the logon name stored in the execution log. Our AD is structured by division/department, so we can see which departments are making use of the server. It's really useful!&lt;/P&gt;</description>
      <pubDate>Tue, 07 Aug 2018 12:48:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Report-on-Report-Server-Folder-Structure/m-p/482608#M6955</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-08-07T12:48:19Z</dc:date>
    </item>
    <item>
      <title>Re: Report on Report Server Folder Structure</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Report-on-Report-Server-Folder-Structure/m-p/482797#M6961</link>
      <description>&lt;P&gt;You can query the backend DB for each instance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm pretty sure there are some sync tools out there. Though not sure if they give you whats different or just align everything using some clever magic pixies.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A query like this gives you what's in the catalog. The underlying GUIDS will be different on the different servers but the overall elements (folders/reports/datasets) etc should be the same.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;SELECT	r.ItemID
	   ,r.Path
	   ,r.Name
	   ,r.ParentID
	   ,CASE r.Type
			WHEN 1	THEN 'Folder'
			WHEN 2	THEN 'SSRS Report'
			WHEN 3	THEN 'Branding Content'
			WHEN 5	THEN 'Data Source'
			WHEN 8	THEN 'KPI Dataset'
			WHEN 11	THEN 'KPI Card'
			WHEN 13	THEN 'PBIX Report'
		END AS ContentType

	   --,r.Property
	   ,r.Description
	   ,r.Hidden  -- 0 or 1
	   --,r.CreatedByID
	   ,c.UserName AS CreatedBy
	   ,r.CreationDate
	   ,m.UserName AS ModifiedBy
	   ,r.ModifiedDate
	   --,r.MimeType --only useful for things like images etc.
	   --,r.SnapshotLimit
	   --,r.Parameter -- xml can be used to figure out params on SSRS reports
	   --,r.PolicyID
	   --,r.PolicyRoot
	   --,r.ExecutionFlag
	   --,r.ExecutionTime
	   --,r.SubType
	   --,r.ComponentID
	   ,r.ContentSize
FROM	dbo.Catalog r
		LEFT OUTER JOIN dbo.Users c
			ON r.CreatedByID = c.UserID
		LEFT OUTER JOIN dbo.Users m
			ON r.ModifiedByID = m.UserID
WHERE	LEFT(PATH,37) &amp;lt;&amp;gt; '/68f0607b-9378-4bbb-9e70-4da3d7d66838'	-- ignore branding items
		AND LEFT(PATH,14) &amp;lt;&amp;gt; '/Users Folders' -- ignore user folders
ORDER BY r.PATH;&lt;/PRE&gt;</description>
      <pubDate>Tue, 07 Aug 2018 14:57:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Report-on-Report-Server-Folder-Structure/m-p/482797#M6961</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-08-07T14:57:41Z</dc:date>
    </item>
    <item>
      <title>Re: Report on Report Server Folder Structure</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Report-on-Report-Server-Folder-Structure/m-p/484402#M7012</link>
      <description>&lt;P&gt;Thanks for the answers, all very useful.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Used the rest-api call in the end using an odata connection to get the catalog items and developed from there:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;http://&amp;lt;myhost&amp;gt;/reports/api/v2.0/CatalogItems&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The documentation also mentions being able to retrieve the definition of the report&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;"Using the REST API, you can, for example, navigate the folder hierarchy, discover the contents of a folder, or &lt;STRONG&gt;download a report definition.&amp;nbsp;"&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But haven't found out a way of doing that yet - any ideas?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Aug 2018 20:05:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Report-on-Report-Server-Folder-Structure/m-p/484402#M7012</guid>
      <dc:creator>Reportex</dc:creator>
      <dc:date>2018-08-08T20:05:32Z</dc:date>
    </item>
    <item>
      <title>Re: Report on Report Server Folder Structure</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Report-on-Report-Server-Folder-Structure/m-p/484886#M7015</link>
      <description>&lt;P&gt;You need&amp;nbsp;&lt;A href="https://app.swaggerhub.com/apis/microsoft-rs/pbirs/2.0#/CatalogItems/GetCatalogItem" target="_blank"&gt;https://app.swaggerhub.com/apis/microsoft-rs/pbirs/2.0#/CatalogItems/GetCatalogItem&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You pass in the GUID (ID) of the item. It returns the RDL content. Can't say I've used it directly, as you can tell I'm pretty old school and tend to go kick the database until it gives me what I want.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We use the REST API via PowerShell and the&amp;nbsp;&lt;STRONG&gt;ReportingServicesTools&lt;/STRONG&gt; library Micorosft Provide.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Aug 2018 07:57:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Report-on-Report-Server-Folder-Structure/m-p/484886#M7015</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-08-09T07:57:14Z</dc:date>
    </item>
    <item>
      <title>Re: Report on Report Server Folder Structure</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Report-on-Report-Server-Folder-Structure/m-p/485623#M7034</link>
      <description>&lt;P&gt;Thanks stpnet, not quite the report definition I was after, but I'll keep digging.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm old school too, but trying to get access to the db at ClientCo would take forever...&lt;/P&gt;</description>
      <pubDate>Thu, 09 Aug 2018 18:45:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Report-on-Report-Server-Folder-Structure/m-p/485623#M7034</guid>
      <dc:creator>Reportex</dc:creator>
      <dc:date>2018-08-09T18:45:08Z</dc:date>
    </item>
    <item>
      <title>Re: Report on Report Server Folder Structure</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Report-on-Report-Server-Folder-Structure/m-p/910982#M12754</link>
      <description>&lt;P&gt;Hey I know this post is old, but how did you connect to AD?&amp;nbsp; Is there a general table that you can query and connect to?&amp;nbsp; I see UserName column in the ExecutionLogStorage table, but not sure where companies generally store AD information.&amp;nbsp; I don't believe we use Azure, but I could be wrong... pretty sure it is on Prem.&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jan 2020 15:56:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Report-on-Report-Server-Folder-Structure/m-p/910982#M12754</guid>
      <dc:creator>djanszentql</dc:creator>
      <dc:date>2020-01-24T15:56:12Z</dc:date>
    </item>
  </channel>
</rss>

