microsoft / secmgmt-insights-connector

Power BI connector that provides insight into the current state of how Microsoft 365 is configured and whether best practices have been implemented
MIT License
13 stars 3 forks source link

windowsAutopilotSettings HTTP 404 #101

Closed ghost closed 4 years ago

ghost commented 4 years ago

Steps to reproduce

Run the following query

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