-
Notifications
You must be signed in to change notification settings - Fork 34
DateTimeFromFileTimeUTC Function error (attribute Type) #96
Description
I am try to use the DateTimeFromFileTimeUTC Function, just as indicated in the example: DateTimeFromFileTimeUTC([//Target/AccountExpires]) to conver AccountExpires from AD to MIM format (to configure notification MPR), but the workflow give this error:
Exception occurred while attempting to 'resolve' function 'System.ArgumentOutOfRangeException: Not a valid Win32 FileTime. Parameter name: fileTime at System.DateTime.FromFileTimeUtc(Int64 fileTime) at MicrosoftServices.IdentityManagement.WorkflowActivityLibrary.Common.ExpressionFunction.DateTimeFromFileTimeUtc() at MicrosoftServices.IdentityManagement.WorkflowActivityLibrary.Common.ExpressionFunction.Run()': 'DateTimeFromFileTimeUTC('9223372036854775807')'.
//Target/AccountName is an Integer Attribute and destination is a DateTime Attribute.
Am I doing something wrong?
I also need to convert pwdLastSet y LastLogonTimeStamp, could I use the same function?
Thanks in advance
Best Regards