best response confirmed by IBN (Valued Contributor)

Re: Porting numbers from Microsoft

I would say the process is described well in docs
So I would consider unsinging the number first as suggested.
These days you have also different commands on newer powershell Teams module which lets you specify new phone number type on assigned number.