cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
NewJakale
Level: Powered On

Why is Office365User.MyProfile() not working but 'Utilisateursd''Office365'.Myprofile() works?

I have been trying to get the "Leave schedule" template for a whole afternoon at this point. I can preview it, everything is nice and no errors but when I "Save it" and it creates all the data on my side I go from 0 to 81 errors?

 

Well I think i find out. Most of this app revolves arround the Officer 365 Users connector BUT since i'm in in France you have to change all the "Office365User." to "'Utilisateursd''Office365'." for it to show the proper data. Why the hell would this be necessary?!

 

Even after fixing all the "Office365User." to "'Utilisateursd''Office365'." I still have 24 errors which are directly linked to "'Utilisateursd''Office365'." functions. There is french documentation regarding "Office365User." but none regarding the use of "'Utilisateursd''Office365'.".

 

If anyone could help me out on finding at least some documentations that would be great. And if any staff back at Microsoft are reading this post please explain to me why you would translate connector names in a programming interface...

Thanks in advance,

2 REPLIES 2
Community Support Team
Community Support Team

Re: Why is Office365User.MyProfile() not working but 'Utilisateursd''Office365'.Myprofile() works?

Hi @NewJakale ,

 

Can you please share the detailed formulas that has the errors?

 

Regards,

Mona

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
NewJakale
Level: Powered On

Re: Why is Office365User.MyProfile() not working but 'Utilisateursd''Office365'.Myprofile() works?

Hello @v-monli-msft,

 

I managed to solve the issue by changing EVERY instance of Office365Users. to 'Utilisateursd''Office365'. in the example Leave app.

Still I would like to know why we have this type of French localization? Instead of using "," we use ";" and a couple more i can't remember. At what moment in the process of making the PowerApp connectors and programming syntax it was decided that the rules would change according to specific countries?

This is completely counter intuitive and nowhere is it specified in the Office365Users documentation that French users have to change it to 'Utilisateursd''Office365'.

 

Also if we download some template app it would be nice that according to the user's country the code would be modified to fit this weird localization system...

 

I linked a screenshot to show you what had to be changed in the Leave template and comparing how it works with  'Utilisateursd''Office365' and not with Office365Users.

Helpful resources

Announcements
firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Top Community Contributors for July 2019

Top Community Contributors for July 2019

Let's thank our top community contributors

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

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

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

FifthImage

Dynamics 365 and Power Platform April 2019 Release notes

Features releasing from April 2019 through September 2019!

Users Online
Currently online: 190 members 5,570 guests
Recent signins:
Please welcome our newest community members: