hey guys, I have this code for Azure, for some rea...
# general
l
hey guys, I have this code for Azure, for some reason, it keeps returning a 404 and saying the resource doesn't exist, which doesn't make sense. The Tenant is being created.
Copy code
const resourceGroup = new azureNative.resources.ResourceGroup(`${serviceName}${resourceGroupName}`, {
        resourceGroupName: `${serviceName}${resourceGroupName}`,
        location: "australiaeast",
    });

    const b2cTenant = new azureNative.azureactivedirectory.B2CTenant(`${serviceName}b2ctenant`, {
        location: "Australia",
        countryCode: "AU",
        displayName: `${serviceName} B2C Tenant`,
        resourceGroupName: resourceGroup.name,
        resourceName: `${serviceName}b2ctenant`,
        sku: {
            name: "Standard"
        },
    }, { dependsOn: [resourceGroup] });