If I use azure port and upload the same configs and package the deployment works, it with Microsoft Visual Studio Professional 2019, Version 16.11.23 I get this error, also if I create a brand new "cloud service (extended support) via visual studio and deploy the deployment works.
The deployment through Azure Resource Management failed.
9:41:25 AM - Uploading 'C:\framework\Framework.Extended.WebRole\bin\Release\app.publish\Framework.Extended.WebRole.cspkg' as 'Framework.Extended.WebRole-1662390f.cspkg' to storage account...
9:42:35 AM - Uploading 'C:\framework\Framework.Extended.WebRole\bin\Release\app.publish\ServiceConfiguration.Cloud.cscfg' as 'ServiceConfiguration.Cloud-1662390f.cscfg' to storage account...
9:42:35 AM - Checking if all the certificates exist in key vault 'https://..........vault.azure.net/'...
9:42:37 AM - Preparing deployment for Framework.Extended.WebRole_2023-01-19T093905 with Subscription ID '........................................................' using Resource Management URL 'https://management.azure.com/'...
9:42:37 AM - Starting...
9:43:00 AM - Deployment Status: Failed.
9:43:00 AM - The deployment through Azure Resource Management failed.
Code: DeploymentFailed
Message: At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/DeployOperations for usage details.
Detail: Specified api-version 2021-03-01 does not meet the minimum required api-version 2022-04-04 to set this property SlotType.