question

salilsingh-9961 avatar image
0 Votes"
salilsingh-9961 asked JaliyaUdagedara answered

Downloaded publish profile user not getting authorized

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-webapps
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

JaliyaUdagedara avatar image
0 Votes"
JaliyaUdagedara answered

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


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.