Azure / azure-saas

The Azure SaaS Development Kit (ASDK) provides a reference architecture, deployable reference implementation and tools to help developers, startups, ISVs and Enterprises deliver their applications as a SaaS service. A platform for platform creators.
https://aka.ms/azuresaasdevkit
332 stars 286 forks source link

Concurrent AzureRm and Az modules will cause failure #203

Closed idusortus closed 1 year ago

idusortus commented 1 year ago

Using Docker image, proess repeated the following, with an error of 'Bad Request' until interrupted:

Creating B2C tenant ratnest...
*** B2C Tenant creation started. It can take a moment to complete.
Waiting for 30 seconds for B2C tenant creation...

Using .\Saas.IdentityProvider\scripts\B2C-Create.ps1

Line |
1160 |  New-SaaSIdentityProvider
     |  ~~~~~~~~~~~~~~~~~~~~~~~~
     | The term 'Connect-AzAccount' is not recognized as a name of a cmdlet, function,
     | script file, or executable program. Check the spelling of the name, or if a path
     | was included, verify that the path is correct and try again.

Problem

Old machine, had concurrent AzureRm and Az installations.

Solution

Uninstall-AzureRm

Request

Thank you for this quickstart!

1iveowl commented 1 year ago

In version 1.2 the deployment script have been redone from the groud up and the PowerShell script have been replaced with a bash script.