Making 365 user a local admin on a computer

Fire up Command prompt by right clicking it and selecting ‘Run as Administrator’.

Enter the following command:

Net localgroup Administrators /add "AzureAD\<users office 365 email address>"