I tried to deploy a web service to azure portal (linux). However, my app service doesn’t work and it stated “ModuleNotFoundError: No module named ‘win32com'”. I believe that win32com is not compatible for linux and exclusively only for windows.
I am working on these parameters:
from win32com import client as Client
outlook = Client.Dispatch("Outlook.Application").GetNameSpace("MAPI")
user_info = outlook.CreateRecipient(user).AddressEntry
office_location = user_info.GetExchangeUser().StateOrProvince
email_address = user_info.GetExchangeUser().PrimarySmtpAddress
manager_name = user_info.GetExchangeUser().GetExchangeUserManager().Name
manager_email = user_info.GetExchangeUser().GetExchangeUserManager().PrimarySmtpAddress
will appreciate your thoughts
New contributor
un-nun is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
3