unable to add deployment slot in portal

David Gaulke 16 Reputation points
2021-02-11T16:41:46.19+00:00

When I attempt to add a deployment slot to a function app, I get this error:

Failed to create slot 'stage': Required parameter AccessKey is missing.

Any ideas on what would cause this? I don't see any method of providing an access key from the add slot screen.

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,333 questions
{count} votes

5 answers

Sort by: Most helpful
  1. Jun Ye 21 Reputation points
    2021-05-19T18:14:11.617+00:00

    We had the exact same error when try to cloning into a new deployment slot.

    Since AccessKey would normally only be used in Storage Account, we looked around and found

    Settings -> Configuration -> Path mappings -> It was mounting a storage account (Currenly only avaliable in Linux App Service Plan)

    Since we are not using this mount, we removed it and tried cloning again.

    And it worked this time. But yes, I agree someone need to open up a ticket with MS to have this fixed permanantly.

    3 people found this answer helpful.

  2. MariusJacob 6 Reputation points
    2021-03-18T07:10:12.977+00:00

    we are seeing the same issue with a Webapp for containers, when creating another deployment slot

    1 person found this answer helpful.
    0 comments No comments

  3. Tobias Kleine 6 Reputation points
    2021-04-26T13:44:33.627+00:00

    We are also facing this issue. When trying to create a deployment slot, the creation fails with "Required parameter AccessKey is missing." from 1) Azure Portal, 2) Azure Portal Cloudshell and 3) local PS (using az cli tool).

    Is there any status update?

    1 person found this answer helpful.
    0 comments No comments

  4. Mike-E-angelo 476 Reputation points
    2022-01-11T11:51:56.247+00:00

    +1

    Not exactly the greatest of confidence to see such problems hang around for such a long time. You all are making money over there with all the money we're paying you, right? :P

    https://learn.microsoft.com/answers/answers/690772/view.html

    1 person found this answer helpful.
    0 comments No comments

  5. MayankBargali-MSFT 68,986 Reputation points
    2021-02-16T10:32:05.177+00:00

    If someone is facing a similar issue feel free to tag me or create a support ticket. This issue needs to be looked at from the configuration end of the function app. Look's like there can be some default configuration that might be removed for the function app.

    In multiple instances the issue could be that the AccessKey on the storage account mounted to the app services was have flagged null at our end. You could update the value in resource explorer or redeploy without the storage mount and remount it after deployment.