Hello,
Please check the Microsoft documentation for your requirement
https://video2.skills-academy.com/en-us/sql/dma/dma-migrateonpremsqltosqldb?view=sql-server-ver15
Please mark as "Accept the answer" if the above steps helps you. Others with similar issues can also follow the solution as per your suggestion
Regards,
Manu