Installation of Azure Arc

Bengt Strand 40 Reputation points
2023-11-24T07:37:04.28+00:00

Hello.

I am trying to onboard a local server to Azure Arc , using script froom Azure.
The script fails with the following error:

https://aka.ms/arc-server-outbound-url-requirements : The term 'https://aka.ms/arc-server-outbound-url-requirements' is not recognized as the name of a cmdlet, 
function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At C:\azurearc.ps1:30 char:1
+ https://aka.ms/arc-server-outbound-url-requirements
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (https://aka.ms/...rl-requirements:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException 

Bengt

Azure Arc
Azure Arc
A Microsoft cloud service that enables deployment of Azure services across hybrid and multicloud environments.
383 questions
0 comments No comments
{count} votes

Accepted answer
  1. JimmySalian-2011 42,066 Reputation points
    2023-11-24T12:16:29.3566667+00:00

    Hi,

    The command does not look correct, please check the documentation and it should be ending with .ps or ps1. Not sure why you are typing the URL? Please post the script location and command you are typing.

    Usually it is ./OnboardingScript.ps1 for windows server.

    Hope this helps.

    JS

    ==

    Please Accept the answer if the information helped you. This will help us and others in the community as well.

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Bengt Strand 40 Reputation points
    2023-11-24T13:00:52.1933333+00:00

    I have run the script, but it stops on the step shown in the first post, but it stops on the command shown in the post.

    0 comments No comments