Share via

How to get account information from Outlook mac with AppleScript or any other way

Anonymous
2022-03-14T06:50:01+00:00

i need to get account information from Outlook mac with AppleScript or any other way. I tried apple script but is not work in new outlook (version 16).

the following script are working on old outlook mac but not work any more in new version.

tell application "Microsoft Outlook"

set email_accounts to {}

repeat with emailAccount in imap accounts

set end of email_accounts to (name of emailAccount) & ":" & (email address of emailAccount)

end repeat

repeat with emailAccount in exchange accounts

if exchange type of emailAccount is equal to primary account then

set end of email_accounts to (name of emailAccount) & ":" & (email address of emailAccount)

end if

end repeat

repeat with emailAccount in pop accounts

set end of email_accounts to (name of emailAccount) & ":" & (email address of emailAccount)

end repeat

repeat with emailAccount in ldap accounts

set end of email_accounts to (name of emailAccount) & ":" & (email address of emailAccount)

end repeat

email_accounts

end tell

Outlook | MacOS | Legacy Outlook for Mac | For home

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

3 answers

Sort by: Most helpful
  1. Anonymous
    2022-03-17T10:11:39+00:00

    Hello  Win_14,

    Generally If connected experiences in your Office privacy options is disabled, you won't see Contact Support in Outlook. To check if this is the case: Open Outlook, and select Outlookon the Dock. Select Preferencesand then select Privacy. This will open Account Privacy where you can manage your privacy options. For more information, see Overview of optional connected experiences in Office. For full details, please see “I don't see Contact Support. Why?” from this article.

    Thank you. Stay safe , happy and healthy forever.

    Best regards,

    Ankita Vaidya

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2022-03-16T12:55:13+00:00

    Hello Ankita,

    On outlook there no option for Contact support. if you have any other way to connect support please let me know.

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2022-03-15T05:41:05+00:00

    Hello  Win_14,

    Good day to you and hope you are doing well.

    Based on your requirement, we have search to get account details from outlook for mac and seems besides Account option available in Outlook for mac, we couldn’t found any other way from official document. Further as scripts not working in New Outlook for Mac only and for that we have special new outlook for mac dedicated team who have special expertise in New Outlook for Mac and apple script related issue, so for your concern, it is recommend to kindly contact Outlook for Mac support team by go to Help > select Contact support or check Contact support within Outlook for Mac. At this point, your kind understanding and co-operation will be highly appreciated.

    Thank you so much for your precious time. Stay safe and healthy.

    Regards,

    Ankita Vaidya

    Was this answer helpful?

    0 comments No comments