cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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
thirdimage

Power Platform 24

Check it out!

thirdimage

New Badges

Check it out!

thirdimage

Power Apps Community User Group Member Badge

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

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

Top Solution Authors
Top Kudoed Authors
Users online (5,534)