M365 Supplemental - Configure OneDrive

M365SONE.ConfigureOneDrive.AgentTask (Task)

DeleteConfiguration: Set True to undiscover this component. To keep any existing configuration from being changed, use -1. Otherwise the configuration will get overwritten with the parameter defaults.

Element properties:

TargetM365SL.WatcherNode
AccessibilityPublic
CategoryDiscovery
EnabledTrue
RemotableFalse
Timeout300
Comment..

Member Modules:

ID Module Type TypeId RunAs 
WA WriteAction M365SONE.Configure.OneDrive.POSH.WA Default

Source Code:

<Task ID="M365SONE.ConfigureOneDrive.AgentTask" Accessibility="Public" Target="M365SL!M365SL.WatcherNode" Enabled="true" Timeout="300" Remotable="true" Comment="..">
<Category>Discovery</Category>
<WriteAction ID="WA" TypeID="M365SONE.Configure.OneDrive.POSH.WA">
<DeleteConfiguration>false</DeleteConfiguration>
<IntervalSeconds>$Target/Property[Type="M365SL!M365SL.WatcherNode"]/IntervalSeconds$</IntervalSeconds>
<M365_AccountName>$Target/Property[Type="M365SL!M365SL.WatcherNode"]/M365_AccountName$</M365_AccountName>
<M365_AccountPassword>$Target/Property[Type="M365SL!M365SL.WatcherNode"]/M365_AccountPassword$</M365_AccountPassword>
<M365_ClientID>$Target/Property[Type="M365SL!M365SL.WatcherNode"]/M365_ClientID$</M365_ClientID>
<M365_ClientSecret>$Target/Property[Type="M365SL!M365SL.WatcherNode"]/M365_ClientSecret$</M365_ClientSecret>
<MgmtGroupRegKey>$Target/Property[Type="M365SL!M365SL.WatcherNode"]/MgmtGroupRegKey$</MgmtGroupRegKey>
<PoshLibraryPath/>
<TenantName>$Target/Property[Type="M365SL!M365SL.WatcherNode"]/TenantName$</TenantName>
<WorkflowName>M365SONE.ConfigureOneDrive.AgentTask</WorkflowName>
<WriteActionTimeoutSeconds>60</WriteActionTimeoutSeconds>
<WriteToEventLog>true</WriteToEventLog>
</WriteAction>
</Task>