Office 365 Events Datasource

Microsoft.SystemCenter.O365.DataSource.MessagesAlerts (DataSourceModuleType)

Datasource is used by 2 rules to get actual list of Events (Incidents and Messages) and create corresponding Alerts in Operations Manager

Element properties:

TypeDataSourceModuleType
IsolationAny
AccessibilityInternal
RunAsMicrosoft.SystemCenter.O365.RunAsProfile.Proxy
OutputTypeSystem.PropertyBagData

Member Modules:

ID Module Type TypeId RunAs 
Trigger DataSource System.Scheduler Default
Probe ProbeAction Microsoft.SystemCenter.O365.ProbeAction.IncidentsAlerts Default

Overrideable Parameters:

IDParameterTypeSelectorDisplay NameDescription
TimeOutint$Config/TimeOut$Timeout SecondsTimeout Seconds
IntervalSecondsint$Config/IntervalSeconds$Interval SecondsInterval Seconds
SyncTimestring$Config/SyncTime$Synchronization TimeSynchronization Time

Source Code:

<DataSourceModuleType ID="Microsoft.SystemCenter.O365.DataSource.MessagesAlerts" Accessibility="Internal" RunAs="Microsoft.SystemCenter.O365.RunAsProfile.Proxy" Batching="false">
<Configuration>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="TimeOut" type="xsd:int"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="IntervalSeconds" type="xsd:int"/>
<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="SubscriptionId" type="xsd:string"/>
</Configuration>
<OverrideableParameters>
<OverrideableParameter ID="TimeOut" Selector="$Config/TimeOut$" ParameterType="int"/>
<OverrideableParameter ID="IntervalSeconds" Selector="$Config/IntervalSeconds$" ParameterType="int"/>
<OverrideableParameter ID="SyncTime" Selector="$Config/SyncTime$" ParameterType="string"/>
</OverrideableParameters>
<ModuleImplementation Isolation="Any">
<Composite>
<MemberModules>
<DataSource ID="Trigger" TypeID="System!System.Scheduler">
<Scheduler>
<SimpleReccuringSchedule>
<Interval>$Config/IntervalSeconds$</Interval>
<SyncTime>$Config/SyncTime$</SyncTime>
</SimpleReccuringSchedule>
<ExcludeDates/>
</Scheduler>
</DataSource>
<ProbeAction ID="Probe" TypeID="Microsoft.SystemCenter.O365.ProbeAction.IncidentsAlerts">
<TimeOut>$Config/TimeOut$</TimeOut>
<Interval>$Config/IntervalSeconds$</Interval>
<UserName>$RunAs[Name="Microsoft.SystemCenter.O365.RunAsProfile.Password"]/UserName$</UserName>
<Password>$RunAs[Name="Microsoft.SystemCenter.O365.RunAsProfile.Password"]/Password$</Password>
<SubscriptionId>$Config/SubscriptionId$</SubscriptionId>
<IncludeResolvedIncidents>false</IncludeResolvedIncidents>
<ReopenClosedAlerts>false</ReopenClosedAlerts>
<Mode>1</Mode>
</ProbeAction>
</MemberModules>
<Composition>
<Node ID="Probe">
<Node ID="Trigger"/>
</Node>
</Composition>
</Composite>
</ModuleImplementation>
<OutputType>System!System.PropertyBagData</OutputType>
</DataSourceModuleType>