I've been getting this error when ever I try to create a new slot
Error: Execution Exception (state: ValidateParameter) (step: Invocation)
Error: At ValidateParameter, slot-name : SCM credential does not match slot-name dev. Please ensure the slot-name parameter has correct casing and the publish-profile is acquired from your function app's slot rather than your main production site..
Error: Deployment Failed!
Someone really needs to fix this issue as its been happening since really long time. Its literally impossible to deploy to slot via github.