Register the Azure confidential ledger resource provider
Before using Azure confidential ledger, you must first register the Azure confidential ledger resource provider.
How to register
A resource provider is a service that supplies Azure resources. Use the Azure CLI az provider register command or the Azure PowerShell Register-AzResourceProvider cmdlet to register the Azure confidential ledger resource provider, 'microsoft.ConfidentialLedger'.
az provider register --namespace "microsoft.ConfidentialLedger"
You can verify that registration is complete with the Azure CLI az provider register command or the Azure PowerShell Get-AzResourceProvider cmdlet.
az provider show --namespace "microsoft.ConfidentialLedger"