Create Application Registration Automatically using Invitation Wizard

A new Application registration for securing the connection between Live Platform and the customer M365 Azure tenant platform can be created automatically using the Invitation wizard script using the following flows:

The customer provides you with their M365 admin User Principal Name (UPN) Global Admin user. You then access the Invitation wizard by sending an email to your M365 admin account (or by accessing the Authentication URL from the Pending Invitations page in the Multitenant portal). You then create the new registration alone or together with the customer. See Send Email link to your Admin account.
The customer M365 tenant admin receives an email including the Authentication URL link to trigger the Invitation wizard. See Send Customer Email Link to Invitation Wizard.

This process additionally creates an Enterprise application with Delegated Token authentication required for adding the Application registration. You can remove this application once the Application Registration has been successfully created. The name of the application is <LivePlatform_servername>-<ServiceProvider_name>-token. For example, 'Sandbox1-sp2-token'.