Hello. I am trying to use Request Leave Template of Microsoft but I get an UserId error in this part of the code:
Set(_defaultApprover;Office365Users.ManagerV2(_myProfile.Id));;
I tried many solutions on this forum, but I couldn't fix my problem. I tried to change the code as requested in these solutions like:
Set(_defaultApprover;Office365Users.ManagerV2(_myProfile.Mail));;
But I got same error. I am trying to solve it almost an hour. Could someone help me please?