Setting up Microsoft LAPS for Azure Active Directory
Last updated
Was this helpful?
Last updated
Was this helpful?
Lithnet Access Manager provides a convenient web-based interface for accessing local admin passwords that have been stored in Azure AD by Windows LAPS.
This guide assumes that you have the Windows LAPS agent deployed and configured appropriately. Test access to the LAPS passwords using the Azure portal first to make sure it is configured correctly.
This guide focuses on setting up support for Microsoft LAPS passwords stored in Azure Active Directory. See our other guide for passwords stored in .
If you are using Azure AD authentication for AMS, you can reuse the app registration created for authentication. Skip to Step 2.
If you are not using Azure AD for authentication, or you'd like to create a separate application for the directory access, then follow these steps to create a new application in Azure AD.
Log into portal.azure.com with administrative credentials, select All services
and select Azure Active Directory
Select App registrations
and click New application registration
Enter Lithnet Access Manager
or another suitable application name, and select Accounts in this organizational directory only (Lithnet only - Single tenant)
as the supported account type
Leave the redirect URI
field blank
Click Register
Take note of the Application ID
value, this is our client ID
Save the settings
Take note of the Directory/Tenant ID from the main application page
From the Certificates and secrets
page, click new client secret
, give your secret a name, and then take note of the value provided.
Log into portal.azure.com with administrative credentials, select All services
and select Azure Active Directory
Select App registrations
and select your Application registration for Lithnet Access Manager.
From the API permissions
page, click Add permission
and grant the following API permissions
Device.Read.All
Group.Read.All
Organization.Read.All
User.Read
DeviceLocalCredential.Read.All
Ensure that you have selected Grant admin consent
for each item.
Open the Lithnet Access Manager Service Configuration Tool
Select the Directory configuration/Azure Active Directory
page
Press the Add...
button to add a new tenant configuration
Add the client ID, secret, and directory/tenant ID in the fields provided
Save the tenant configuration
The final step is to create an authorization rule, granting permission for your selected users and groups to access the LAPS passwords for the specified computers.
From the Authorization rules/Computers
page, select Add...
to create a new rule. Select the Azure AD tenant, device group, or computer you want to assign access to, and provide a friendly description for this rule. This will appear in audit logs if a user is granted access.
Expand the Access control
section and select Edit Permissions...
to open the ACL editor.
If you'd like to be notified when someone accesses a LAPS password, select the notification channels you'd like to send to for success and failure events.
You can however use the built-in to trigger the password change after logon.