Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error executing script #11868

Closed
gbellmann opened this issue Jul 17, 2018 · 3 comments
Closed

Error executing script #11868

gbellmann opened this issue Jul 17, 2018 · 3 comments

Comments

@gbellmann
Copy link
Contributor

There's an error when executing the script. The part that reads the publish profile is only returning the string content, so the $xml.SelectNode statements after it fail.

This command:

$xml = (Get-AzureRmWebAppPublishingProfile -Name $webappname `
-ResourceGroupName myResourceGroup `
-OutputFile null)

should be:

$xml = [xml](Get-AzureRmWebAppPublishingProfile -Name $webappname `
-ResourceGroupName myResourceGroup `
-OutputFile null)

Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

@BryanTrach-MSFT
Copy link
Member

@gbellmann Thanks for the feedback! We are currently investigating and will update you shortly.

@BryanTrach-MSFT
Copy link
Member

@cephalin Where do I find the location of the powershell script used in this article?

BryanTrach-MSFT added a commit to BryanTrach-MSFT/azure-docs-powershell-samples that referenced this issue Aug 4, 2018
Updated the xml portion of the script as the current script was erroring out.
erickson-doug pushed a commit to Azure/azure-docs-powershell-samples that referenced this issue Aug 7, 2018
Updated the xml portion of the script as the current script was erroring out.
@BryanTrach-MSFT
Copy link
Member

@gbellmann We have resolved this issue.

We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants