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

Getting Personnel Number for Power Apps

Hallo, 

 

I'm trying to use the Vacation Request Sample from Power Apps for my company. 

My Goal is to fill the accepted request automatically in D365 for Operations.

 

I'm using Flow to create a new Item via the Entity "Planned time and attendance absence registrations"

My Problem is that I need the personnel number of the employee. Via Power Apps I can get the Office365 User.

 

I tried to use the Get Records and use the Entity Worker where I can get the personnel number. 

But how can I match the Office365User and the Dynamcis365fO User ? 

 

KR

George

1 ACCEPTED SOLUTION

Accepted Solutions
v-zhos-msft
Solution Sage
Solution Sage

Hi @Anonymous ,

As you said, you can get the Office365 User via Power Apps.

So you can use the 'Get user profile (V2)' action to get the Personnel Number.

Capture2.PNG

Best Regards,

Community Support Team _ Zhongys

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
v-zhos-msft
Solution Sage
Solution Sage

Hi @Anonymous ,

As you said, you can get the Office365 User via Power Apps.

So you can use the 'Get user profile (V2)' action to get the Personnel Number.

Capture2.PNG

Best Regards,

Community Support Team _ Zhongys

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Users online (3,816)