Publsh Web API to azure

Andre Stemmett 1 Reputation point
2020-06-23T09:12:05.417+00:00

Hi there,

I have an azure account (free, for the being). When I publish my API from my mac to azure the PC notifies me that I have no account under my username, by which I signed
into xamarin with. Please help.

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

5 answers

Sort by: Most helpful
  1. Malleswara Reddy, G 1,631 Reputation points
    2020-06-23T09:28:49.403+00:00

    Hi,

    Have you created subscription under your account. I guess you don't have any subscription under your account.

    https://learn.microsoft.com/en-us/azure/cost-management-billing/manage/create-subscription

    Regards,
    Eshwar

    0 comments No comments

  2. Andre Stemmett 1 Reputation point
    2020-06-23T13:07:22.343+00:00

    Hi there,

    Thank you for the reply. I have a subscription. I have a free trial.

    Please see screen shot below. Still not working! 10561-screenshot-2020-06-23-at-150615.png


  3. Andre Stemmett 1 Reputation point
    2020-06-23T14:06:26.087+00:00

    Hi there again,

    I am now able to publish. My app services don't appear in the popup, so I create a new end point in my resource group. This works and then I am told that my API is being deployed to azure and it will take a few moments. I have tried twice and my deployment to azure fails. I have allowed public access and from my IP address. Sorry for posting you. Could you please advise me again. I really appreciate your help.

    Kind Regards
    Andre Stemmett

    0 comments No comments

  4. Andre Stemmett 1 Reputation point
    2020-06-23T14:15:23.15+00:00

    Build FAILED.

    /usr/local/share/dotnet/sdk/3.1.301/Sdks/Microsoft.NET.Sdk.Publish/targets/PublishTargets/Microsoft.NET.Sdk.Publish.MSDeploy.targets(140,5): error : Web deployment task failed. (Could not connect to the remote computer ("apiendpointandre.scm.azurewebsites.net"). On the remote computer, make sure that Web Deploy is installed and that the required process ("Web Management Service") is started. Learn more at: http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_DESTINATION_NOT_REACHABLE.)
    /usr/local/share/dotnet/sdk/3.1.301/Sdks/Microsoft.NET.Sdk.Publish/targets/PublishTargets/Microsoft.NET.Sdk.Publish.MSDeploy.targets(140,5): error : The requested resource does not exist, or the requested URL is incorrect.
    /usr/local/share/dotnet/sdk/3.1.301/Sdks/Microsoft.NET.Sdk.Publish/targets/PublishTargets/Microsoft.NET.Sdk.Publish.MSDeploy.targets(140,5): error : Error details:
    /usr/local/share/dotnet/sdk/3.1.301/Sdks/Microsoft.NET.Sdk.Publish/targets/PublishTargets/Microsoft.NET.Sdk.Publish.MSDeploy.targets(140,5): error : Could not connect to the remote computer ("apiendpointandre.scm.azurewebsites.net"). On the remote computer, make sure that Web Deploy is installed and that the required process ("Web Management Service") is started. Learn more at: http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_DESTINATION_NOT_REACHABLE.
    /usr/local/share/dotnet/sdk/3.1.301/Sdks/Microsoft.NET.Sdk.Publish/targets/PublishTargets/Microsoft.NET.Sdk.Publish.MSDeploy.targets(140,5): error : The remote server returned an error: (404) Not Found.
    0 Warning(s)
    1 Error(s)

    0 comments No comments

  5. Andre Stemmett 1 Reputation point
    2020-06-23T14:19:06.947+00:00

    Perhaps A firewall is not allowing me to deploy?

    0 comments No comments