<?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: State of user devices after unsynced/removed from directory in Managing Users</title>
    <link>https://community.cisco.com/t5/managing-users/state-of-user-devices-after-unsynced-removed-from-directory/m-p/4937386#M1297</link>
    <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.cisco.com/t5/user/viewprofilepage/user-id/878627"&gt;@DuoKristina&lt;/a&gt;&amp;nbsp;, is there any way we can automate this where when user is removed via directory sync, it removes the associated devices from other accounts as well if they have any ?&lt;/P&gt;</description>
    <pubDate>Tue, 10 Oct 2023 18:28:47 GMT</pubDate>
    <dc:creator>RookieNet55</dc:creator>
    <dc:date>2023-10-10T18:28:47Z</dc:date>
    <item>
      <title>State of user devices after unsynced/removed from directory</title>
      <link>https://community.cisco.com/t5/managing-users/state-of-user-devices-after-unsynced-removed-from-directory/m-p/4937347#M1295</link>
      <description>&lt;P&gt;We sync users with our Microsoft AD to manage users in Duo. We have a few service accounts for which multiple user's phone or device are setup for that account. What happens to these devices when a user is removed via directory sync and this users device is associated with a service/common account. Will these user's devices still get Duo MFA push for those service accounts if they have the app installed on them but they are not part of our Duo MFA instance anymore.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Also would like some suggestions on how you all are dealign with these scenarios, would there be a better automated way to do this?&lt;/P&gt;</description>
      <pubDate>Tue, 10 Oct 2023 16:38:38 GMT</pubDate>
      <guid>https://community.cisco.com/t5/managing-users/state-of-user-devices-after-unsynced-removed-from-directory/m-p/4937347#M1295</guid>
      <dc:creator>RookieNet55</dc:creator>
      <dc:date>2023-10-10T16:38:38Z</dc:date>
    </item>
    <item>
      <title>Re: State of user devices after unsynced/removed from directory</title>
      <link>https://community.cisco.com/t5/managing-users/state-of-user-devices-after-unsynced-removed-from-directory/m-p/4937380#M1296</link>
      <description>&lt;P class="lia-indent-padding-left-30px"&gt;&lt;A title="What happens if a phone number is deleted from a directory?" href="https://duo.com/docs/dirsync-faq#what-happens-if-a-phone-number-is-deleted-from-a-directory?" target="_blank" rel="noopener"&gt;What happens if a phone number is deleted from a directory?&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;SPAN&gt;If a phone number is deleted from a directory user and is not attached to any other Duo users when it is removed, the phone is deleted from Duo at the next sync. If the phone is attached to more than one user in Duo then the phone will still exist and remain attached to the users from whom the phone was not removed. You can manually delete that phone from the Admin Panel.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If the phone is activated for Duo Push and remains attached to at least one user the phone remains in Duo and that remaining user's login attempts can continue using Duo Push with that phone.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Oct 2023 18:24:32 GMT</pubDate>
      <guid>https://community.cisco.com/t5/managing-users/state-of-user-devices-after-unsynced-removed-from-directory/m-p/4937380#M1296</guid>
      <dc:creator>DuoKristina</dc:creator>
      <dc:date>2023-10-10T18:24:32Z</dc:date>
    </item>
    <item>
      <title>Re: State of user devices after unsynced/removed from directory</title>
      <link>https://community.cisco.com/t5/managing-users/state-of-user-devices-after-unsynced-removed-from-directory/m-p/4937386#M1297</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.cisco.com/t5/user/viewprofilepage/user-id/878627"&gt;@DuoKristina&lt;/a&gt;&amp;nbsp;, is there any way we can automate this where when user is removed via directory sync, it removes the associated devices from other accounts as well if they have any ?&lt;/P&gt;</description>
      <pubDate>Tue, 10 Oct 2023 18:28:47 GMT</pubDate>
      <guid>https://community.cisco.com/t5/managing-users/state-of-user-devices-after-unsynced-removed-from-directory/m-p/4937386#M1297</guid>
      <dc:creator>RookieNet55</dc:creator>
      <dc:date>2023-10-10T18:28:47Z</dc:date>
    </item>
    <item>
      <title>Re: State of user devices after unsynced/removed from directory</title>
      <link>https://community.cisco.com/t5/managing-users/state-of-user-devices-after-unsynced-removed-from-directory/m-p/4937456#M1298</link>
      <description>&lt;P&gt;Not easily... like, there isn't a checkbox or toggle that will enable this in the sync. We defaulted to retaining the device if attached to another user so the remaining user does not have to re-enroll an auth device in Duo.&lt;/P&gt;
&lt;P&gt;A possibility is to use our &lt;A href="https://duo.com/docs/adminapi" target="_self"&gt;Admin API&lt;/A&gt; to do it programmatically, but even that isn't straight-forward... off the top of my head:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;&lt;A href="https://duo.com/docs/adminapi#retrieve-users" target="_self"&gt;retrieve users&lt;/A&gt;&amp;nbsp;and look for those with status = pending deletion and a value for&amp;nbsp;&lt;SPAN&gt;last_directory_sync&lt;/SPAN&gt; (because the sync marked the user for deletion)&lt;/LI&gt;
&lt;LI&gt;parse out the phones attached to that user by phone_id in the retrieve users response&lt;/LI&gt;
&lt;LI&gt;&lt;A href="https://duo.com/docs/adminapi#delete-phone" target="_self"&gt;delete the phones&lt;/A&gt; that are attached to that pending deletion user by phone_id, which will remove the targeted phones from any user accounts not marked for deletion&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;If you contact Duo Support you can submit a feature request for making this a option in directory sync config.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Oct 2023 21:50:51 GMT</pubDate>
      <guid>https://community.cisco.com/t5/managing-users/state-of-user-devices-after-unsynced-removed-from-directory/m-p/4937456#M1298</guid>
      <dc:creator>DuoKristina</dc:creator>
      <dc:date>2023-10-10T21:50:51Z</dc:date>
    </item>
  </channel>
</rss>

