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:
post exchange forum can found here:
SharePoint , Apps for Office and SharePoint > Developing Apps for SharePoint 2013
Comments
Post a Comment