access contacts in outlook using Script lab

103 Views Asked by At

can Oauth be used in script lab(custom made) for authentication and can it be used to access and fetch outlook contacts ? if yes then how is it possible ?

1

There are 1 best solutions below

2
Eugene Astafiev On

Outlook web add-ins work under the context of currently selected item in Outlook. So, the ScriptLab add-in was developed for playing with APIs for the current item (OfficeJS) and getting sample pieces of code. If you need to access other items/contacts I'd suggest using MS Graph API instead or EWS (discontinued with a time) as well as Outlook REST API.