Comments (5)
Try this in PowerShell [DateTime]::FromFileTimeUtc(9223372036854775807). It seems you have at least one digit too much. If you drop any one digit, you at least get some date back.
from mimwal.
But the value is from AD (I import AccountExpires from AD, synchronize to MIM and try to conver in a MIM Workflow). How can I drop one digit for the data I read from AD?
I configure the workflow like this:
Let me know if you can see the picture
Thanks
from mimwal.
https://docs.microsoft.com/en-us/windows/win32/adschema/a-accountexpires will provide some clue :)
from mimwal.
Ok. So, the problem is that this number is too big?
I use the advanced option to use small numbers:
I use '441481644000000000' (this number represents December 31, 2999, after this day it will not be my problem :-) )
The conversion in the other (DateTimeToFileTimeUTC function) way support bigger numbers, for example, I configured a workflow like this:
and a date like: '9999-12-31T00:00:00.000' is converted in: '2650466880000000000', (it is working now, in another Lab) but If I configure AccountExpires in AD with '9999-12-31' (attribute has '2650466880000000000' value) DateTimeFromFileTimeUTC Function fails.
Regards
from mimwal.
Hi @juancarloscanto, I'll be closing this as the boundary you need to handle yourself - you can use IIF function appropriately if needed. You are also welcome to raise a bug with .NET Framework product support if you see different behaviours in different .NET functions.
from mimwal.
Related Issues (20)
- GenerateRandomPassword function and consecutive characters HOT 2
- GenerateRandomPassword Function not present HOT 4
- Check Target exists before executing activity HOT 2
- Event ID 41501 Thrown during Generate Unique Value Activity HOT 2
- Build solution - The referenced component 'WorkflowActivityLibrary' could not be found. WorkflowActivityLibrary.UI HOT 3
- Failure adding assembly to the cache: Strong name signature could not be verified HOT 2
- GenerateUniqueValue conflict filter parsing starts-with
- Generate Unique ID limit HOT 1
- Feature request - Adding dot notation support to Converttonumber HOT 1
- Feature Request : Add a possibility to query Azure AD in the "Generate Unique Value Activity"
- This repo is missing important files HOT 1
- With IIF statement, both true and false conditions are evaluated HOT 2
- Function WrapXPathFilter generates XML in different order HOT 5
- How to monitor changes in Workflow HOT 3
- MIMWAL UI display issue HOT 24
- MIM Portal ignoring extra lines in xoml HOT 2
- Feature Request - CamelCase HOT 4
- Verify Request - Error Message HOT 2
- Issue with deleting ids from MIM portal HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mimwal.