Exchange ews call through sharepoint hosted app permission issue. Access is denied.


hello,

in 1 of posted question on forum saw mike facing same issue of passing credential ews exchange service through sharepoint hosted app, mike: able working. tried ajax post request , getting access denied on sharepoint hosted app. when try html file prompts me login , provided login fetches data otherwise unautherized 401 error inputs helpful thanks..

hi,

seems issue office 365 rather on-premise on-premise use ntlm authentication (and therefore wouldn't prompt - assuming user has rights ews).  it sounds ews supports oauth authentication there doesn't seem way of getting oauth token via javascript.

 

can ms advise on office 365 scenario (how authenticate ews via javascript user logged on sharepoint , account has rights ews)?  know can work around issue using "service/proxy account" (and supplying these credentials using basic authentication) isn't ideal user has rights ews , logged in shouldn't needed (and thought of sending usernames/passwords if service account doesn't sound idea - guess it's ok under https still...).

 

original post forum can found here:

 

http://social.msdn.microsoft.com/forums/en-us/appsforsharepoint/thread/6736f1d2-1560-4c88-9377-e13e508f1809

 

post exchange forum can found here:

 

http://social.technet.microsoft.com/forums/en-us/exchangesvrdevelopment/thread/00e5b8f2-ff8e-431d-a582-049196f1872a



SharePoint  ,  Apps for Office and SharePoint  >  Developing Apps for SharePoint 2013



Comments

Popular posts from this blog

Azure DocumentDB Owner resource does not exist

job syspolicy_purge_history job fail in sqlserver 2008

Trying to register with public marketplace error with 'Get-AzureStackStampInformation'