mrochon / b2csamples

MIT License
132 stars 41 forks source link

Fail to create a new Tenant after successful B2C Multi Tenant Deployment using script #19

Closed vijayshiyani closed 3 years ago

vijayshiyani commented 3 years ago

After successfully executing Setup-B2CMultiTenant.ps1 script @ https://github.com/mrochon/b2csamples/tree/master/Scripts/MultiTenant

Fail to create a new Tenant.

it does hit b2c-mt-rest API but then throws 500 internal server error.

Are there any missing steps in the above deployment script? do we need to configure https://github.com/mrochon/b2c-mt-rest functions app separately?

image

mrochon commented 3 years ago

I suspect the REST API application registration in your B2C tenant has not been consented to. Look at its API Permissions and make sure admin consent has been granted.