exchangewebservices - Using EWS SOAP requests in an Outlook web add-in -


i need use several ews requests (e.g. getuserconfiguration, updateuserconfiguration) not supported using office.context.mailbox.makeewsrequestasync.

i cannot use ews managed api in own web service broker, , must use xml soap requests directly add-in's javascript (those methods not available in graph or mail apis).

there many examples (like this) showing how getuseridentitytokenasync can used pass token web service (again, can't use) use there in whatever way need it.

however, i'm guessing token retrieved getuseridentitytokenasync different , cannot used. simple , appropriate test, obtained oauth token o365 account , used token using soape test getuserconfiguration call , worked. tried using token getuseridentitytokenasync , didn't work (401 unauthorized).

i concede may poor test, , admit @ point unclear me how soap ews request javascript in outlook dd-in can authenticated without requiring explicit user login (hopefully can). , if can, how token need , how use kind of client-side request?


Comments

Popular posts from this blog

angular - Ionic slides - dynamically add slides before and after -

minify - Minimizing css files -

Add a dynamic header in angular 2 http provider -