Showing results for 
Search instead for 
Did you mean: 
Level 10

Bug: Compass and Accelerometer do not work

Compass.Heading and Accelerometer are not working in some contexts:


  • Studio (edit mode): works fine on my Surface Book when editing an app.
  • Studio (cloud mode): cloud app seems noticeably choppier and slower to respond than in edit mode
  • Windows Phone (Lumia 950): Accelerometer works, but is not as responsive as edit mode on Surface Book, Compass.Heading is not working
  • iPad: neither are detected
  • Web apps through browser: neither are working, but I expected this since it's online. This applies to Chrome and Edge

Does anyone else use these functions on a different device with different results?

Microsoft Employee
Community Support Team
Community Support Team

Re: Bug: Compass and Accelerometer do not work

Hi mr-dang,


Thanks for feedback.


To test this issue, I create an app with Compass.Heading and Acceleration functions. Then I run the app on the devices I have (I don’t have Windows Phone (Lumia 950) on my side, so I am not able to test on this device).


On Surface, it seems that I get the same result with you.
In Edit mode, it works fine while in Preview mode, looks like it is a bit slower than in Edit mode.
The PowerApps version on my Surface is 2.0.610.


On iPad, the app is working as good as on Surface Edit mode, all the values can be returned as expected.
I also test this on iPhone 6S, the app also works fine.
The app version on both iPad and iPhone is 2.0.611, and iOS version is 10.2.1.


On Web browser, it doesn’t work, I assume it should be a default behavior.


If convenience, please check if you have given Location access for PowerApps on iPad. If you are still getting this issue, please feel free reply.


Best regards,
Mabel Mao

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Level 8

Re: Bug: Compass and Accelerometer do not work

Has anyone been able to use Compass as a data source with PowerApps? It would be great if able to access data directly.




Helpful resources


Microsoft Business Applications Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.


Demo Extravaganza Championship Voting Open

Voting Ends: October 30, 2019!


Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020


Power Platform World Tour

Coming to a city near you


PowerApps Community User Group Member Badge

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


Join PowerApps User Group!!

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

Top Kudoed Authors
Users Online
Currently online: 185 members 4,425 guests
Please welcome our newest community members: