microsoft / microsoft/FastTrack

Error: Operation cancelled due to security concerns.

Open
#309 1 comment 0 reactions 2 assignees View on GitHub

@brianly is already working on this.

Since Jul 14, 2026.

Dominant language
HTML
Stars
224
Forks
129
Avg merge
1d 2h
Merged PRs (30d)
24

Description

Running the script as is I first receive an exception message of "The remote server returned an error: (401) Unauthorized.". I noticed the url had an extra slash in it: "url": "https://www.yammer.com//api/v1/networks/fetch_current_enforce_license_state".

So, I updated the script to remove the trailing slash on the listed URL.

Rerunning with the update, I receive:
"exception_message": "Operation cancelled due to security concerns. Use -UseBasicParsing parameter for safe HTML parsing without script execution.",
"stack": " at System.Management.Automation.MshCommandRuntime.ThrowTerminatingError(ErrorRecord errorRecord)"

I've looked at the script and attempted to input the -UseBasicParsing but never found success, I suspect I'm inputting it in the wrong place. Can you point me in the right direction?

Thanks!

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.