Searches for Conditional Access Policies that contain "legacy authentication" in it's name and returns the current state of the found CA Policy.
Use Cases: Can be used in Identifying if the default Microsoft Policy titled "Block legacy authentication" exists. If Found the enabled/disabled state of this CA policy is also returned.
Policies.ConditionalAccess[?displayName.contains(to_string(@),
"legacy authentication"
)].['POLICY NAME:'displayName,'STATE:'state]