manage Exchange Mailbox permission using C# windows application

Meher, Shankar (CORP) 0 Reputation points

hi folks,

i would like to design a windows application which will do below. is it possible to develop using C# ?

  1. Connect to Exchange Online.
  2. Add/Remove mailbox fullaccess.
  3. Add/Remove SendAs or Sendonbehalf access.
  4. Set mailbox forwarding


Microsoft Exchange Online
Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,865 questions
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,511 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Jiale Xue - MSFT 41,736 Reputation points Microsoft Vendor

    Hi @Meher, Shankar (CORP) , Welcome to Microsoft Q&A,

    Regarding how to use c# to connect to Exchange Online and send emails, you need to check this document specifically: Enable or disable authenticated client SMTP submission (SMTP AUTH) in Exchange Online (These settings only apply to mailboxes that are hosted in Exchange Online (Office 365 or Microsoft 365).) This forum does not support other email addresses.

    You need to Enable SMTP AUTH for specific mailboxes.

    You can also check out this reference list.

    Best Regards,


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment". 

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments