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

Subscription state function #103

Closed ghost closed 4 years ago

ghost commented 4 years ago

Steps to reproduce

Run the following query

let
    source = SecMgmtInsights.Contents("Partner"),
    subscriptionState = Source{[Name="SubscriptionState"]}[Data]
in
    subscriptionState

Expected behavior

The state information to be loaded as expected

Actual behavior

Expression.Error: We cannot convert the value null to type Type.
Details:
    Value=
    Type=[Type]

Diagnostic logs

Data is being returned from the API and processed by the connector. It appears the cause for this issue is the dynamic schema not supporting enum types

Environment

Windows 10 Power BI Desktop SecMgmtInsights version 2.0-preview-1