<?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: Remove leavers/users in SQL possible? in Report Server</title>
    <link>https://community.fabric.microsoft.com/t5/Report-Server/Remove-leavers-users-in-SQL-possible/m-p/3517272#M31664</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="100342" data-lia-user-login="lbendlin" class="lia-mention lia-mention-user"&gt;lbendlin&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;From the Database "ReportServer". The default DB.&lt;BR /&gt;&lt;BR /&gt;Best Regards&lt;BR /&gt;Brani&lt;/P&gt;</description>
    <pubDate>Mon, 06 Nov 2023 08:30:47 GMT</pubDate>
    <dc:creator>Brani</dc:creator>
    <dc:date>2023-11-06T08:30:47Z</dc:date>
    <item>
      <title>Remove leavers/users in SQL possible?</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Remove-leavers-users-in-SQL-possible/m-p/3514545#M31641</link>
      <description>&lt;P&gt;Hi all&lt;BR /&gt;&lt;BR /&gt;We're cleaning up our licenses and i found a bunch of users, that have still a role assigned but do not work anymore in our company.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;What did I do? I ran this query, this gave me all the users that are somehow on the Database.&amp;nbsp;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;select u.UserName, r.RoleName, r.Description, c.Path, c.Name&lt;BR /&gt;from dbo.PolicyUserRole pur&lt;BR /&gt;inner join dbo.Users u on pur.UserID = u.UserID&lt;BR /&gt;inner join dbo.Roles r on pur.RoleID = r.RoleID&lt;BR /&gt;inner join dbo.Catalog c on pur.PolicyID = c.PolicyID&lt;BR /&gt;order by u.UserName&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A couple of them are not anymore working.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Is there a way to remove this users via another query or have i to remove them manually from the Power BI Frontend?&lt;BR /&gt;&lt;BR /&gt;Many thanks&lt;/P&gt;&lt;P&gt;Brani&lt;/P&gt;</description>
      <pubDate>Mon, 06 Nov 2023 09:44:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Remove-leavers-users-in-SQL-possible/m-p/3514545#M31641</guid>
      <dc:creator>Brani</dc:creator>
      <dc:date>2023-11-06T09:44:14Z</dc:date>
    </item>
    <item>
      <title>Re: Remove leavers/users in SQL possible?</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Remove-leavers-users-in-SQL-possible/m-p/3516095#M31654</link>
      <description>&lt;P&gt;Remove them from where?&lt;/P&gt;</description>
      <pubDate>Sat, 04 Nov 2023 23:18:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Remove-leavers-users-in-SQL-possible/m-p/3516095#M31654</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2023-11-04T23:18:06Z</dc:date>
    </item>
    <item>
      <title>Re: Remove leavers/users in SQL possible?</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Remove-leavers-users-in-SQL-possible/m-p/3517272#M31664</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="100342" data-lia-user-login="lbendlin" class="lia-mention lia-mention-user"&gt;lbendlin&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;From the Database "ReportServer". The default DB.&lt;BR /&gt;&lt;BR /&gt;Best Regards&lt;BR /&gt;Brani&lt;/P&gt;</description>
      <pubDate>Mon, 06 Nov 2023 08:30:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Remove-leavers-users-in-SQL-possible/m-p/3517272#M31664</guid>
      <dc:creator>Brani</dc:creator>
      <dc:date>2023-11-06T08:30:47Z</dc:date>
    </item>
    <item>
      <title>Re: Remove leavers/users in SQL possible?</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Remove-leavers-users-in-SQL-possible/m-p/3517672#M31667</link>
      <description>&lt;P&gt;That's something you will want to do in the database. Data write back features in Power BI are pretty much non-existent.&lt;/P&gt;</description>
      <pubDate>Mon, 06 Nov 2023 12:10:16 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Remove-leavers-users-in-SQL-possible/m-p/3517672#M31667</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2023-11-06T12:10:16Z</dc:date>
    </item>
    <item>
      <title>Re: Remove leavers/users in SQL possible?</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Remove-leavers-users-in-SQL-possible/m-p/3517834#M31670</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="100342" data-lia-user-login="lbendlin" class="lia-mention lia-mention-user"&gt;lbendlin&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;That was my question &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; do you know how to do it?&lt;/P&gt;</description>
      <pubDate>Mon, 06 Nov 2023 13:55:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Remove-leavers-users-in-SQL-possible/m-p/3517834#M31670</guid>
      <dc:creator>Brani</dc:creator>
      <dc:date>2023-11-06T13:55:34Z</dc:date>
    </item>
    <item>
      <title>Re: Remove leavers/users in SQL possible?</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Remove-leavers-users-in-SQL-possible/m-p/3517992#M31674</link>
      <description>&lt;P&gt;You can run an Update or Delete query the same way you ran your Select query.&amp;nbsp; In fact, it is considered good practice to create the Select query first so you will know how many rows will be affected by the destructive operations.&lt;/P&gt;</description>
      <pubDate>Mon, 06 Nov 2023 15:09:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Remove-leavers-users-in-SQL-possible/m-p/3517992#M31674</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2023-11-06T15:09:55Z</dc:date>
    </item>
    <item>
      <title>Re: Remove leavers/users in SQL possible?</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Remove-leavers-users-in-SQL-possible/m-p/3518643#M31680</link>
      <description>&lt;P&gt;1) Remove user permission from reports (of folders) is not necesenary, if these peoples not working in company, then (I hope) their AD acccount are disabled or removed, and they cannot access.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2) Any modification in ReportServer database is not recommended, and not supported.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can remove old users manually from GUI, or you can remove using REST API.&lt;/P&gt;</description>
      <pubDate>Mon, 06 Nov 2023 22:25:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Remove-leavers-users-in-SQL-possible/m-p/3518643#M31680</guid>
      <dc:creator>josef78</dc:creator>
      <dc:date>2023-11-06T22:25:30Z</dc:date>
    </item>
    <item>
      <title>Re: Remove leavers/users in SQL possible?</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Remove-leavers-users-in-SQL-possible/m-p/3519904#M31694</link>
      <description>&lt;P&gt;Hi josef78&lt;BR /&gt;&lt;BR /&gt;Thanks for your reply.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Users are removed from AD, but we keep track of leavers. But they are still counted in the "Roles", i.e. "contant manager" etc.&amp;nbsp;&lt;BR /&gt;So the solution is GUI or REST API &lt;span class="lia-unicode-emoji" title=":thumbs_up:"&gt;👍&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;Many thanks / Beste Grüsse&lt;/P&gt;&lt;P&gt;Brani&lt;/P&gt;</description>
      <pubDate>Tue, 07 Nov 2023 12:47:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Remove-leavers-users-in-SQL-possible/m-p/3519904#M31694</guid>
      <dc:creator>Brani</dc:creator>
      <dc:date>2023-11-07T12:47:10Z</dc:date>
    </item>
  </channel>
</rss>

