Privileged Identity Management (PIM) is a service in Azure Active Directory (Azure AD) which you can use to control and…