mahmoud_shabban
Mar 16, 2023Former Employee
Status:
Closed
AAD Computer object cleanup after removing from the AVD Host Pool
is there a possibility to clean up the object Ids from the Azure active directory after deleting the related session host from the host pool?
Supernova
Mar 20, 2023Copper Contributor
Go to the Azure portal and navigate to the Azure Active Directory (AD) devices page.
Find the session host names that were registered before and select them.
Click on the "Delete" button to remove them from the Azure AD devices.
Go back to the host pool and remove the session hosts from it.
After removing the session hosts from the host pool, wait for a few minutes to ensure that the changes are replicated across all Azure AD devices.
Add the session hosts back to the host pool, and they will be registered with new names in the Azure AD devices.
By following these steps, you should be able to remove the session host names that were registered before and fix the issue.
Hope your query answered here! 🙂