Error when tried Incidents- Create or Update

Shikhin 1 Reputation point
2021-08-27T05:56:51.963+00:00

I am trying put using instructions here but I receive the response code 400 and following json response

{  
  "error": {  
    "code": "NoRegisteredProviderFound",  
    "message": "No registered resource provider found for location 'uksouth' and API version '2021-04-01' for type 'workspaces'. The supported api-versions are '2015-03-20, 2015-11-01-preview, 2017-01-01-preview, 2017-03-03-preview, 2017-03-15-preview, 2017-04-26-preview, 2020-03-01-preview, 2020-08-01, 2020-10-01, 2021-06-01'. The supported locations are 'eastus, westeurope, southeastasia, australiasoutheast, westcentralus, japaneast, uksouth, centralindia, canadacentral, westus2, australiacentral, australiaeast, francecentral, koreacentral, northeurope, centralus, eastasia, eastus2, southcentralus, northcentralus, westus, ukwest, southafricanorth, brazilsouth, switzerlandnorth, switzerlandwest, germanywestcentral, australiacentral2, uaecentral, uaenorth, japanwest, brazilsoutheast, norwayeast, norwaywest, francesouth, southindia'."  
  }  
}  

which resource provider I should register here to solve the problem? I am following this article for that.

Microsoft Sentinel
Microsoft Sentinel
A scalable, cloud-native solution for security information event management and security orchestration automated response. Previously known as Azure Sentinel.
1,065 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Marilee Turscak-MSFT 36,411 Reputation points Microsoft Employee
    2021-08-27T22:24:54.417+00:00

    Try to change your template to one of the suggested values such as 2021-06-01 and set the resource provider to Azure Sentinel.

    Reference from the troubleshooting guide:

    Code: NoRegisteredProviderFound  
    Message: No registered resource provider found for location {location}  
    and API version {api-version} for type {resource-type}.  
    

    The error message should give you suggestions for the supported locations and API versions. You can change your template to one of the suggested values. Most providers are registered automatically by the Azure portal or the command-line interface you're using, but not all. If you haven't used a particular resource provider before, you may need to register that provider.

    https://learn.microsoft.com/en-us/azure/azure-resource-manager/templates/error-register-resource-provider