Skip to content

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

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions