New-M365DSCNotificationEndpointRegistration¶
Description¶
Adds a URL and event type pair to the machine-level endpoint registration list. The function validates duplicates before persisting the new registration.
Output¶
This function does not generate any output.
Parameters¶
| Parameter | Required | DataType | Default Value | Allowed Values | Description |
|---|---|---|---|---|---|
| Url | True | String | Specifies the notification endpoint URL. | ||
| EventType | True | String | Drift, Error, Warning, NonDrift, RuleEvaluation | Specifies the event type that should trigger notifications. |