-
Notifications
You must be signed in to change notification settings - Fork 119
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!