M365SLIC.LicenseMon.DS

M365SLIC.LicenseMon.DS (DataSourceModuleType)

Timed PowerShell data source. Designed to leverage a Posh script PA for retrieving License SKU properties/metrics.

Element properties:

TypeDataSourceModuleType
IsolationAny
AccessibilityPublic
RunAsDefault
OutputTypeSystem.PropertyBagData

Member Modules:

ID Module Type TypeId RunAs 
SCHEDULE DataSource System.SimpleScheduler Default
PROBE ProbeAction M365SLIC.LicenseMon.PB.PA Default

Overrideable Parameters:

IDParameterTypeSelector
EventIDFilterstring$Config/EventIDFilter$
PoshLibraryPathstring$Config/PoshLibraryPath$
ProbeActionTimeoutSecondsint$Config/ProbeActionTimeoutSeconds$
SyncTimestring$Config/SyncTime$
WorkflowNamestring$Config/WorkflowName$
WriteToEventLogbool$Config/WriteToEventLog$

Source Code:

<DataSourceModuleType ID="M365SLIC.LicenseMon.DS" Accessibility="Public" Batching="false">
<Configuration>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="1" name="ApiTokenScopeURL" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="1" name="ApiTokenURL" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="1" name="ApiURL" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="1" name="M365_AccountName" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="1" name="M365_AccountPassword" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="1" name="M365_ClientID" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="1" name="M365_ClientSecret" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="1" name="EventIDFilter" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="1" name="IntervalSeconds" type="xsd:integer"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="1" name="PoshLibraryPath" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="1" name="ProbeActionTimeoutSeconds" type="xsd:integer"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="1" name="SyncTime" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="1" name="TenantName" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="1" name="TLSVersion" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="1" name="WorkflowName" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="1" name="WriteToEventLog" type="xsd:boolean"/>
</Configuration>
<OverrideableParameters>
<OverrideableParameter ID="EventIDFilter" Selector="$Config/EventIDFilter$" ParameterType="string"/>
<OverrideableParameter ID="PoshLibraryPath" Selector="$Config/PoshLibraryPath$" ParameterType="string"/>
<OverrideableParameter ID="ProbeActionTimeoutSeconds" Selector="$Config/ProbeActionTimeoutSeconds$" ParameterType="int"/>
<OverrideableParameter ID="SyncTime" Selector="$Config/SyncTime$" ParameterType="string"/>
<OverrideableParameter ID="WorkflowName" Selector="$Config/WorkflowName$" ParameterType="string"/>
<OverrideableParameter ID="WriteToEventLog" Selector="$Config/WriteToEventLog$" ParameterType="bool"/>
</OverrideableParameters>
<ModuleImplementation Isolation="Any">
<Composite>
<MemberModules>
<DataSource ID="SCHEDULE" TypeID="System!System.SimpleScheduler">
<IntervalSeconds>$Config/IntervalSeconds$</IntervalSeconds>
<SyncTime>$Config/SyncTime$</SyncTime>
</DataSource>
<ProbeAction ID="PROBE" TypeID="M365SLIC.LicenseMon.PB.PA">
<ApiTokenScopeURL>$Config/ApiTokenScopeURL$</ApiTokenScopeURL>
<ApiTokenURL>$Config/ApiTokenURL$</ApiTokenURL>
<ApiURL>$Config/ApiURL$</ApiURL>
<M365_AccountName>$Config/M365_AccountName$</M365_AccountName>
<M365_AccountPassword>$Config/M365_AccountPassword$</M365_AccountPassword>
<M365_ClientID>$Config/M365_ClientID$</M365_ClientID>
<M365_ClientSecret>$Config/M365_ClientSecret$</M365_ClientSecret>
<EventIDFilter>$Config/EventIDFilter$</EventIDFilter>
<PoshLibraryPath>$Config/PoshLibraryPath$</PoshLibraryPath>
<ProbeActionTimeoutSeconds>$Config/ProbeActionTimeoutSeconds$</ProbeActionTimeoutSeconds>
<TenantName>$Config/TenantName$</TenantName>
<TLSVersion>$Config/TLSVersion$</TLSVersion>
<WorkflowName>$Config/WorkflowName$</WorkflowName>
<WriteToEventLog>$Config/WriteToEventLog$</WriteToEventLog>
</ProbeAction>
</MemberModules>
<Composition>
<Node ID="PROBE">
<Node ID="SCHEDULE"/>
</Node>
</Composition>
</Composite>
</ModuleImplementation>
<!-- <OutputType>System!System.Discovery.Data</OutputType> -->
<OutputType>System!System.PropertyBagData</OutputType>
</DataSourceModuleType>