manage Exchange Mailbox permission using C# windows application

Meher, Shankar (CORP) 0 Reputation points
2024-05-17T12:23:46.4633333+00:00

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

Thanks
Shankar

Microsoft Exchange Online
Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,858 questions
C#
C#
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,422 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Jiale Xue - MSFT 38,021 Reputation points Microsoft Vendor
    2024-05-20T03:24:52.1633333+00:00

    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,

    Jiale


    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