2

I am new to office 365 API. My requirement is i need to connect to office365 using REST API.

For authentication purpose i have only

Email

Password

As the fields , Can i generate a session with these? Or I need to collect the Client id , Secret and Return URL in authentication step it self?

I need to build a windows application not a web.

Also after authentication is successful i need to write code for Add Delegate , Update Delegates for Exchange server. Can i connect to these services by using RESt API?

Please help me to do these things.

1 Answer 1

3

You can use the user's email/password to retrieve an OAuth token. However you still need to register your application to obtain a client ID. Native applications (like a Windows app) don't use a client secret. Take a look at the ADAL library for .NET. One of the overloads for AcquireTokenAsync take a UserCredential object.

The REST APIs do not have any functionality to work with delegates. You can use Exchange Web Services to work with delegates.

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.