Skip to content

ImpersonationMailWarning.ps1 Cannot convert value "System.String[]" to type... #21

@Jwbert

Description

@Jwbert

It works with just my display name, otherwise I'm having this error in addition:

Write-ErrorMessage : Cannot process argument transformation on parameter 'HeaderMatchesPatterns'. Cannot convert value "System.String[]" to type "Microsoft.Exchange.MessagingPolicies.Rules.Tasks.Pattern[]". Error: ""The pattern '[
"Display Names"
]' exceeds the maximum length of 128 characters.""

Seems pretty darn close...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions