Add a new delegate for an Exchange account through python and EWS

Viewed 108

I'm working with exchangelib to get a list of delegates assigned to an exchange account and it is working properly. However what I'm trying to do now is to add a new delegate to the same exchange account, but I'm not sure if exchangelib provide this functionality.

I have tried to add it through the append and insert method of

config = Configuration(server=server, credentials=credentials, auth_type=NTLM)
account = Account(primary_smtp_address=email, autodiscover=False, config=config, access_type=DELEGATE)
account.delegates.append("email@domain.com")

Does anyone know if it is possible with exchangelib or any other library for python?

1 Answers
Related