Log in to M365 portal
Admin
Identity
Users - All Users
Search for user
Assigned roles - Microsoft Entra Joined Device Local Administrator
Run Powershell as administrator
Copy & Paste the following command
net localgroup administrators AzureAD\username /add
Restart PC