Downloaded publish profile user not getting authorized

salilsingh-9961 346 Reputation points
2021-11-10T18:52:48.253+00:00

Hi Team,
In order to publish my asp.net core api app to azure app service, I have downloaded publish profile from azure app service. Through vs 2019 when I am publishing the api app using import profile, I am getting error as able to connect to target machine but the user is not authorised. Make sure you are using correct userid and password for the user.

Please let me know how could I check the access permission of user of downloaded publish profile, and provide the necessary permissions to publish the api app.

Thanks,
Salil

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,869 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Jaliya Udagedara 2,731 Reputation points MVP
    2021-11-10T20:08:48.837+00:00

    Since you haven't specified any explciit steps, I believe you are using Application-Scope credentials. Can you reset the publishing profile and import it into Visual Studio and try again. Most likely that should do it.

    If it's not, you can reset the Application-Scope credentials, reset the publish profile and import it back to VS and try publishing

    0 comments No comments