Skip to content

ConfigureCrmServerSideSync - Date comparison for checking for expired certs is not correct #797

@AspireAlex

Description

@AspireAlex

if ($servicePrincipalCredentials[$i].endDateTime -lt $currentDateTime)

The check on line 175 is not evaluated correctly as $servicePrincipalCredentials[$i].endDateTime is a string and $currentDateTime is a DateTime.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions