M365 Supplemental - Modify Watcher Node Default Settings

M365SL.ModifyWatcherNode.AgentTask (Task)

Insert new values. LEAVE BLANK TO IGNORE THE SETTING. This will modify registry values to configure M365SL Watcher Node discovery. Many of these values will be used for additional M365 component configuration task default values. 'DeleteConfiguration' - Set 'True' to allow UNdiscovery of this Watcher Node component.

Element properties:

TargetM365SL.WatcherNode
AccessibilityPublic
CategoryCustom
EnabledTrue
RemotableFalse
Timeout300
Comment..

Member Modules:

ID Module Type TypeId RunAs 
WA WriteAction M365SL.ConfigureWatcherNode.POSH.WA2 Default

Source Code:

<Task ID="M365SL.ModifyWatcherNode.AgentTask" Accessibility="Public" Target="M365SL.WatcherNode" Enabled="true" Timeout="300" Remotable="true" Comment="..">
<Category>Custom</Category>
<WriteAction ID="WA" TypeID="M365SL.ConfigureWatcherNode.POSH.WA2">
<ApiTokenScopeURL>LEAVE_BLANK_TO_IGNORE</ApiTokenScopeURL>
<ApiTokenURL>LEAVE_BLANK_TO_IGNORE</ApiTokenURL>
<ApiURL>LEAVE_BLANK_TO_IGNORE</ApiURL>
<DeleteConfiguration>false</DeleteConfiguration>
<M365_AccountName>LEAVE_BLANK_TO_IGNORE</M365_AccountName>
<M365_AccountPassword>LEAVE_BLANK_TO_IGNORE</M365_AccountPassword>
<M365_ClientID>LEAVE_BLANK_TO_IGNORE</M365_ClientID>
<M365_ClientSecret>LEAVE_BLANK_TO_IGNORE</M365_ClientSecret>
<IntervalSeconds>LEAVE_BLANK_TO_IGNORE</IntervalSeconds>
<Location>LEAVE_BLANK_TO_IGNORE</Location>
<MgmtGroupRegKey>HKLM\SOFTWARE\Microsoft\Microsoft Operations Manager\MP\M365SSM\MgmtGroups\$Target/ManagementGroup/Name$\WatcherNode</MgmtGroupRegKey>
<OnDemandDiscovery>54f984ae-106c-0416-5ac4-71c1f66f3b26,$Target/Host/Id$</OnDemandDiscovery>
<PoshLibraryPath/>
<TenantName>$Target/Property[Type="M365SL.WatcherNode"]/TenantName$</TenantName>
<TLSVersion>LEAVE_BLANK_TO_IGNORE</TLSVersion>
<WorkflowName>M365SL.EnableWatcherNode.AgentTask</WorkflowName>
<WriteActionTimeoutSeconds>60</WriteActionTimeoutSeconds>
<WriteToEventLog>true</WriteToEventLog>
</WriteAction>
</Task>