Forum Discussion
Michael_Kolowicz
Oct 17, 2023Copper Contributor
How can i export contacts from public folder?
I want to create a small application in .NET Core for export all contacts from a contact-folder in our public folder on MSO365 to csv-file. This application should run every hour. What mechanism ...
Michael_Kolowicz
Oct 18, 2023Copper Contributor
Thank you - i think that will be helpfull. But i missing the 2MF / Modern-Authetication in this PS. Our goal is to run this "script/tool" on the server every hour and download the contacts to csv. We didn´t want do it manualy/ by hand.
I have create a Application in Azure like them mentioned in the first answer post.
I have create a Application in Azure like them mentioned in the first answer post.
VasilMichev
Oct 19, 2023MVP
Just replace the connectivity part with your preferred method, EWS supports OAuth so you can use all the standard flows: https://learn.microsoft.com/en-us/exchange/client-developer/exchange-web-services/how-to-authenticate-an-ews-application-by-using-oauth
- Michael_KolowiczOct 30, 2023Copper ContributorWhich Nuget-Project i must import to access from .NET5/.NET6 or .NET7 to use EWS. The Microsoft.Exchange.WebServices is not useable for this newer Versions