The error message appears to be caused due to the fact that I was using an arm task with the following Service Connector type:
Azure Resource Manager
using publish profile based authentication
Unfortunately, I do not have "create application" access at the tenant, so none of the other available options will work for me to finish my deployment pipeline.
So I will just have to use the publish profile and then manually swap slots via the Azure CLI.
Thank you for the help.