Microsoft 365 Services and Features Data Source

Microsoft.SystemCenter.M365.DataSource.GetServices (DataSourceModuleType)

The data source is used by the discovery to discover services and features available for the subscription.

Element properties:

TypeDataSourceModuleType
IsolationAny
AccessibilityInternal
RunAsMicrosoft.SystemCenter.M365.RunAsProfile.Proxy
OutputTypeSystem.Discovery.Data

Member Modules:

ID Module Type TypeId RunAs 
Scheduler DataSource System.Discovery.Scheduler Default
DiscoveryDataProbe ProbeAction Microsoft.SystemCenter.M365.ProbeAction.GetServices Default

Overrideable Parameters:

IDParameterTypeSelectorDisplay NameDescription
IntervalSecondsint$Config/IntervalSeconds$Interval (seconds)The recurring interval of time in seconds in which to run the workflow.
SyncTimestring$Config/SyncTime$Synchronization TimeThe synchronization time specified by using a 24-hour format. May be omitted.

Source Code:

<DataSourceModuleType ID="Microsoft.SystemCenter.M365.DataSource.GetServices" Accessibility="Internal" RunAs="Microsoft.SystemCenter.M365.RunAsProfile.Proxy">
<Configuration>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="IntervalSeconds" type="xsd:integer"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="SyncTime" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="AuthorityUrl" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="MicrosoftGraphUrl" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="TenantId" type="xsd:string"/>
</Configuration>
<OverrideableParameters>
<OverrideableParameter ID="IntervalSeconds" ParameterType="int" Selector="$Config/IntervalSeconds$"/>
<OverrideableParameter ID="SyncTime" ParameterType="string" Selector="$Config/SyncTime$"/>
</OverrideableParameters>
<ModuleImplementation>
<Composite>
<MemberModules>
<DataSource ID="Scheduler" TypeID="System!System.Discovery.Scheduler">
<Scheduler>
<SimpleReccuringSchedule>
<Interval Unit="Seconds">$Config/IntervalSeconds$</Interval>
<SyncTime>$Config/SyncTime$</SyncTime>
</SimpleReccuringSchedule>
<ExcludeDates/>
</Scheduler>
</DataSource>
<ProbeAction ID="DiscoveryDataProbe" TypeID="Microsoft.SystemCenter.M365.ProbeAction.GetServices">
<AuthorityUrl>$Config/AuthorityUrl$</AuthorityUrl>
<MicrosoftGraphUrl>$Config/MicrosoftGraphUrl$</MicrosoftGraphUrl>
<TenantId>$Config/TenantId$</TenantId>
<ApplicationClientId>$RunAs[Name="Microsoft.SystemCenter.M365.RunAsProfile.Password"]/UserName$</ApplicationClientId>
<ApplicationClientCredentials>$RunAs[Name="Microsoft.SystemCenter.M365.RunAsProfile.Password"]/Password$</ApplicationClientCredentials>
<DelegatedUserId>$RunAs[Name="Microsoft.SystemCenter.M365.RunAsProfile.DelegatedServiceHealthUser"]/UserName$</DelegatedUserId>
<DelegatedUserCredentials>$RunAs[Name="Microsoft.SystemCenter.M365.RunAsProfile.DelegatedServiceHealthUser"]/Password$</DelegatedUserCredentials>
<SubscriptionId>$Target/Property[Type='Microsoft.SystemCenter.M365.Subscription']/SubscriptionId$</SubscriptionId>
<ServiceClassId>$MPElement[Name='Microsoft.SystemCenter.M365.Service']$</ServiceClassId>
<FeatureClassId>$MPElement[Name='Microsoft.SystemCenter.M365.Feature']$</FeatureClassId>
<SourceId>$MPElement$</SourceId>
<TargetId>$Target/Id$</TargetId>
</ProbeAction>
</MemberModules>
<Composition>
<Node ID="DiscoveryDataProbe">
<Node ID="Scheduler"/>
</Node>
</Composition>
</Composite>
</ModuleImplementation>
<OutputType>System!System.Discovery.Data</OutputType>
</DataSourceModuleType>