The Auth0 Deploy CLI is a tool that helps you manage your Auth0 tenant configuration. It integrates into your development workflows as a standalone CLI or as a node module.
When importing a previously exported Log Stream configuration into a different tenant, the create Log Stream operation fails with error:
Bad Request: Payload validation error: 'Data does not match any schemas from 'oneOf''.
Removing the sink.azurePartnerTopic property from the Log Stream config fixes this error.
Expectation
The sink.azurePartnerTopic property should be exported, however, during import, this property should be excluded from the object when performing a create operation.
Reproduction
Export a tenant config containing a Log Stream pointing to an EventGrid sink, the resulting LogStreams section will be:
Checklist
Description
When importing a previously exported Log Stream configuration into a different tenant, the create Log Stream operation fails with error:
Removing the
sink.azurePartnerTopic
property from the Log Stream config fixes this error.Expectation
The
sink.azurePartnerTopic
property should be exported, however, during import, this property should be excluded from the object when performing a create operation.Reproduction
Deploy CLI version
7.20.0
Node version
20.6.1