Export AD B2C Temaplate

Béla Boda 1 Reputation point
2020-08-23T20:47:46.583+00:00

I'd like to export my AD B2C, but I get the following error message on the Download/Deploy scene:

{"code":"ExportTemplateCompletedWithErrors","message":"Export template operation completed with errors. Some resources were not exported. Please see details for more information.","details":[{"code":"ResourceTypeSchemaNotFound","target":"Microsoft.AzureActiveDirectory/b2cDirectories","message":"The schema of resource type 'Microsoft.AzureActiveDirectory/b2cDirectories' is not available. Resources of this type will not be exported to the template."}]}

And my result is empty:

{ "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", "contentVersion": "1.0.0.0", "parameters": {}, "variables": {}, "resources": [] }

I am Global administrator in the AD B2C Tenant.

Checked with support and they have not managed to solve (export) it either.

Thanks

Azure Active Directory External Identities
No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Alfredo Revilla (MSFT) 15,971 Reputation points Microsoft Employee
    2020-08-24T00:39:38.057+00:00

    Azure AD B2C tenants or their templates cannot be exported.


    Please let us know if this answer was helpful to you. If so, please remember to mark it as the answer so that others in the community with similar questions can more easily find a solution.