cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Office365 Hire Date connection wrong

Hi, I am trying to set the hire date on a form for users. I would like this to be read-only, so that they cannot change the date they were hired on. However, the O365 connection keeps giving incorrect dates.... any ideas?

 

Code.pngStart.png

1 ACCEPTED SOLUTION

Accepted Solutions
Dual Super User
Dual Super User

Re: Office365 Hire Date connection wrong

Office 365 SharePoint admin center under 'Classic Features'.  There you will find entry into the old User Profile service.  Inside that you can 'Manage User Profiles'.  Then search for a particular user profile and check the hire date.

-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

View solution in original post

4 REPLIES 4
Dual Super User
Dual Super User

Re: Office365 Hire Date connection wrong

Two things you'll need to do.

 

1) You need to check whether hiredate is filled in on their User Profile or not.  The date displaying currently in your screenshot is the equivalent of a zero date.

2) You will also need to adjust for the TimeZone offset.  The date is stored in the profile in UTC.  You can adjust that to the local time using this formula in the default date

DateAdd( Office365Users.MyProfileV2().hireDate, TimeZoneOffset(), Minutes)

I tried it and if the hire date is filled in that works for me.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.
Anonymous
Not applicable

Re: Office365 Hire Date connection wrong

This is a silly question but.... where can I check if it is filled out or not?

Dual Super User
Dual Super User

Re: Office365 Hire Date connection wrong

Office 365 SharePoint admin center under 'Classic Features'.  There you will find entry into the old User Profile service.  Inside that you can 'Manage User Profiles'.  Then search for a particular user profile and check the hire date.

-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

View solution in original post

Anonymous
Not applicable

Re: Office365 Hire Date connection wrong

That would explain it - no hire dates. Thanks for you help!

Helpful resources

Announcements
Better Together’ Contest Finalists Announced!

'Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

thirdimage

Power Apps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Join THE global Microsoft Power Platform event series

Attend for two days of expert-led learning and innovation on topics like AI and Analytics, powered by Dynamic Communities

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

thirdimage

Microsoft Business Applications Virtual Launch

Join us for the Microsoft Business Applications Virtual Launch Event on Thursday, April 2, 2020, at 8:00 AM PST.

thirdimage

Community Summit North America

Innovate, Collaborate, Grow - The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors
Users online (8,531)