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

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
Pstork1
Dual Super User
Dual Super User

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

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

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.
Anonymous
Not applicable

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

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

May UG Leader Call Carousel 768x460.png

June User Group Leader Call

Join us on June 28 for our monthly User Group leader call!

PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

PA.JPG

New Release Planning Portal (Preview)

Check out our new release planning portal, an interactive way to plan and prepare for upcoming features in Power Platform.

Top Solution Authors
Users online (1,366)