Per this doc, you can enable LAPS on the Entra ID:
To enable Windows LAPS with Microsoft Entra ID, you must take actions in Microsoft Entra ID and the devices you wish to manage. If your devices are Microsoft Entra joined and use Swif, you can deploy Windows LAPS for Microsoft Entra ID manually. For more information, see the article Configure Windows LAPS policy settings.
Browse to Identity > Devices > Overview > Device settings
Select Yes for the Enable Local Administrator Password Solution (LAPS) setting, then select Save. You might also use the Microsoft Graph API Update deviceRegistrationPolicy to complete this task.
Configure a client-side policy and set the BackUpDirectory to Microsoft Entra ID.
If you're using Group Policy Objects (GPO) to manage client-side policies, see Windows LAPS Group Policy