microsoft / healthvault-samples

Developer samples for Microsoft HealthVault
Other
30 stars 20 forks source link

"Access is denied." Error Code 11 @ HealthVault - Your Web Service - Your Client Apps #1

Closed SaaShah closed 7 years ago

SaaShah commented 7 years ago

Hi,

I'm using 'HealthVault - Your Web Service - Your Client Apps' code. I followed this guide ; https://blogs.msdn.microsoft.com/healthvault/2013/06/02/healthvault-your-web-service-your-client-apps/.

My application is registered and showing up @ https://config.healthvault-ppe.com/default.aspx.

I've checked all options in METHODS, ONLINE RULES and OFFLINE RULES. My certificate is also showing up at PUBLIC CERTS.

I still get "Access is denied." Error Code 11 (HVDataAccess > GetThings).

I've allowed the application as a user as well.

Am I missing a step or something ?

jhutchings1 commented 7 years ago

Hi @SaadBinShahid, Can you confirm that your ApplicationId is set properly in the app source code?

SaaShah commented 7 years ago

Hi @jhutchings1,

Thank you so much for getting back to me. Yes, my applicationId is set.

public static class AppSettings
public static Guid ApplicationId() { return (new Guid("My AppID here!")); }

I've the same ID in my SDK, and the same App is pushed to my account. Do I've to set the AppID somewhere else ?

jhutchings1 commented 7 years ago

Hi @SaadBinShahid, I ran through the instructions this morning on my side and I wasn't able to reproduce the issue you reported. Can you provide me more details about your repro and exactly what fails?