This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Get-msoluser -userprincipalname xxx@xxx.com | select *objectid
You will be provided with a number like 12312312312 , copy it and use it in the next command line:
Redo-msolprovisionuser -objectid 12312312312