profile
viewpoint
If you are wondering where the data of this site comes from, please visit https://api.github.com/users/MichaelDenwood/events. GitMemory does not store any data, but only uses NGINX to cache data for a period of time. The idea behind GitMemory is simply to give users a better reading experience.

issue commentAzure/azure-cli

Unable to create a deployment slot in Azure function in CLI 2.23.0

It appears in 2.27.1 when running against Azure DevOps self hosted agent. My command is slightly different:

az functionapp deployment slot auto-swap --slot staging -g 'resourcegroup' -n 'appname'

This command (-g and -n changed for privacy) works fine from my local computer. Running cli version 2.19.1 However, when running the latest version in the agent (2.27.1) it produces the dreaded error:

2021-08-12T18:31:20.1652453Z ERROR: Unable to build a model: Unable to deserialize to object: type, AttributeError: 'str' object has no attribute 'get', DeserializationError: Unable to deserialize to object: type, AttributeError: 'str' object has no attribute 'get'

Changing the version of the API isn't an option as this latest version corrects another issue we have in this same script.

I wanted to let you know that It's Back!

vivek-bsn

comment created time in 2 months