Azure App Configuration resource manager api is decoding characters in key and label before reaching the url end point.

Athi Narayanan Jeyaraj 0 Reputation points Microsoft Employee
2024-10-22T05:17:19.69+00:00

App Config resource manager API to create or update Key Values is giving 404 error when the key has a forward slash in it.

Azure App Configuration
Azure App Configuration
An Azure service that provides hosted, universal storage for Azure app configurations.
240 questions
{count} votes

1 answer

Sort by: Most helpful
  1. LeelaRajeshSayana-MSFT 16,786 Reputation points
    2024-10-22T22:11:06.9033333+00:00

    Hi @Athi Narayanan Jeyaraj The API call you are trying to use is meant for use in ARM template deployments alone. If you are trying hit the API with a PUT call, it will likely fail.

    There is another API in the data plane which lets you create a Key-Value under feature flag. Try the following API end point

    PUT {endpoint}/kv/{key}?api-version=2023-11-01
    
    

    For the key, you can pass a value similar to this .appconfig.featureflag%2Ftest Refer the documentation of the API endpoint Put Key Value for additional details.


    If the response helped, please do click Accept Answer and Yes for the answer provided. Doing so would help other community members with similar issue identify the solution. I highly appreciate your contribution to the community.


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.