I need to migrate to version 7 a PowerShell script that was used to create an Azure AD application with a custom password using 
You can refer this for more information about secretText.

I need to migrate to version 7 a PowerShell script that was used to create an Azure AD application with a custom password using 
You can refer this for more information about secretText.