If you’re doing asp.net core development and if you’re trying to publish your website to an azure website you might run into the following error when implementing this documentation.
[error]Error: The specified credentials cannot be used with the authentication scheme 'Basic'.
[error]Error: Default credentials cannot be supplied for the Basic authentication scheme.
[error]Parameter name: authType
This comes from the fact the provided script doesn’t support azure websies with multiple deployment slots.
During my research I found an unresolved thread mentioning it.
So I decided to investigate more and to edit the script to make it support deployment slots
Have fun deploying!