I have create a application in one tenant and added the relevant api permission to create a application through programmatically. it is creating the application in same tenant but it is giving the problem while creating in another b2c tenant. I got the authorization_identitynotfound error message while creating the application.