exchangewebservices

How fix this error : exchangelib.errors.InvalidTypeError: 'tzinfo' <UTC> must be of type <class 'exchangelib.ewsdatetime.EWSTimeZone'>

How fix this error : exchangelib.errors.InvalidTypeError: 'tzinfo' <UTC> must be of type <class 'exchangelib.ewsdatetime.EWSTimeZone'> Question: In my Django project, I have bump the Exchangelib version (3.2.1 to 4.9.0) and now an error occurs. Traceback : File "/home/…/workspace/my_project/exchange_manager/models.py", line 297, in create_event event = self.create(*args, **kwargs) File "/home/…/.local/share/virtualenvs/my_project-iOt348t5/lib/python3.8/site-packages/django/db/models/manager.py", line 85, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) …

Total answers: 1

ExchangeImpersonation SOAP header must be present for this type of OAuth token in Python

ExchangeImpersonation SOAP header must be present for this type of OAuth token in Python Question: Recently Microsoft has withdrawn the basic authentication service for accessing the Exchange Service. Therefore I am working on switching the authentication from basic to OAuth based. However, during the testing, I come across the below exception. File "/usr/local/lib/python3.6/site-packages/exchangelib/services/common.py", line 423, …

Total answers: 1

Changing timezone from EWS datetime_received from standard to +2

Changing timezone from EWS datetime_received from standard to +2 Question: I’m trying to change the timezone from UTC+0 to GMT+2. I have tried a lot but i just can’t figure it out any help would be amazing credentials = Credentials(email, wachtwoord) acc = Account(email, credentials=credentials, autodiscover=True) for item in acc.inbox.all().order_by(‘-datetime_received’)[:100]: print(item.datetime_received) #print: 2021-13-09 11:08:31+00:00 #print …

Total answers: 2