let
Source = SecMgmtInsights.Contents("Partner"),
WindowsAutopilotSettings = Source{[Name="WindowsAutopilotSettings"]}[Data]
in
WindowsAutopilotSettings
Expected behavior
The table to contain output from the API
Actual behavior
An error is encountered due to a HTTP 400 error
Diagnostic logs
Exception:
ExceptionType: System.Net.WebException, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Message: The remote server returned an error: (404) Not Found.
StackTrace:
at Microsoft.Mashup.Engine1.Library.Common.WrappingHttpWebRequest.WrapResponse(Func`1 getResponse)
at Microsoft.Mashup.Engine1.Library.Web.Request.CreateResponse(ResourceCredentialCollection credentials)
at Microsoft.Mashup.Engine1.Library.Web.Request.GetResponseCore(ResourceCredentialCollection credentials)
at Microsoft.Mashup.Engine1.Library.Common.RetryPolicy.Execute[TResult](IEngineHost host, Func`1 func)
at Microsoft.Mashup.Engine1.Library.Web.Request.GetResponse(ResourceCredentialCollection credentials, RetryPolicy retryPolicy, SecurityExceptionCreator securityExceptionCreator, Boolean tokenRefreshed)
Environment
Windows 10
Power BI Desktop
SecMgmtInsights version 2.0-preview-1
Steps to reproduce
Run the following query
Expected behavior
The table to contain output from the API
Actual behavior
An error is encountered due to a HTTP 400 error
Diagnostic logs
Environment