Azure Confidential Ledger Basic SKU

Dev S 71 Reputation points
2024-12-19T20:22:35.8933333+00:00

We have been trying to create an Azure Confidential Ledger with Basic SKU through the Portal and keep getting an error:

[{"code":"NoRegisteredProviderFound","message":"No registered resource provider found for location 'eastus' and API version '2024-07-09-preview' for type 'Ledgers'. The supported api-versions are '2020-12-01-preview, 2021-05-13-preview, 2022-05-13, 2022-09-08-preview, 2023-01-26-preview, 2023-06-28-preview'. The supported locations are 'eastus, southcentralus, westeurope, australiaeast, southeastasia'."}]}

When trying to use the Management REST API or ARM template, we keep getting

{

"error": {

"code": "ResourcePatchFailed",

"message": "Resource patch operation failed as RP returned status code: 'PreconditionFailed' and error message 'Forbidden'."

}

}

Any idea how to create a Basic SKU Ledger?

Thanks.

Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
3,020 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Sina Salam 15,011 Reputation points
    2024-12-23T16:04:04.23+00:00

    Hello Dev S,

    Welcome to the Microsoft Q&A and thank you for posting your questions here.

    I understand that you're having issue with Azure Confidential Ledger Basic SKU.

    To address each error specifically:

    Make sure the resource provider for Azure Confidential Ledger is registered using Azure CLI PowerShell: Register-AzResourceProvider -ProviderNamespace Microsoft.ConfidentialLedger

    Make sure you are using a supported API version and location by verify the supported API versions and locations using PowerShell:

     ((Get-AzResourceProvider -ProviderNamespace Microsoft.ConfidentialLedger).ResourceTypes | Where-Object ResourceTypeName -EQ 'Ledgers').ApiVersions
    
    ((Get-AzResourceProvider -ProviderNamespace Microsoft.ConfidentialLedger).ResourceTypes | Where-Object ResourceTypeName -EQ 'Ledgers').Locations
    
    
    

    Secondly, the ResourcePatchFailed error with Forbidden suggests a permissions issue, make sure you have the necessary permissions to create resources in the specified subscription and resource group at least Contributor role: Check Permissions using Azure CLI - PowerShell: Get-AzRoleAssignment -ObjectId <Your-User-ObjectId>

    I hope this is helpful! Do not hesitate to let me know if you have any other questions.


    Please don't forget to close up the thread here by upvoting and accept it as an answer if it is helpful.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.