You can use
instead. The Microsoft Graph PowerShell cmdlets equivalents for MSOnline can be found here.
Use the information in this article to plan the migration of your applications to Microsoft Graph PowerShell.
If the Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.