dseph / EwsEditor

EWSEditor is a large sample which shows how Exchange Web Services (EWS) calls can be done in code.
261 stars 64 forks source link

Add App&Tenant ID to config? #44

Open SaschaTrollGeberit opened 3 days ago

SaschaTrollGeberit commented 3 days ago

Is it possible to add the app and tenant ID to the config, so I don't must enter them every time?

image
dseph commented 3 days ago

You will need to register an application registration in oAuth. When you do this, you should record the application name, redirect URL, application (client) id, tenant id. If you use an application oAuth flow instead of an delegate oAuth flow then you will also need the client secret VALUE - this is like a password, so be careful with it. You should read the following article: https://learn.microsoft.com/en-us/exchange/client-developer/exchange-web-services/how-to-authenticate-an-ews-application-by-using-oauth

SaschaTrollGeberit commented 1 day ago

I already have registered app. But can I "save" them in EWS Editor, so I dont have to add them to the ID fields each time I use EWS Editor?