Closed ridebadger closed 1 year ago
Can you try this instead?
sasl-xoauth2-tool get-token --client-id=(Application (client) ID from AAD) --tenant=(Directory (tenant) ID from AAD) outlook /var/spool/postfix/etc/tokens/username@domain.onmicrosoft.com
(Notice how outlook
moves to right before the token file path.)
Also make sure you're escaping or quoting where necessary.
Thank you, moving outlook to preceed the path worked.
I am receiving an error: "sasl-xoauth2-tool: error: unrecognized arguments: /var/spool/postfix/etc/tokens/username@domain.onmicrosoft.com" when I run the scro[t
sasl-xoauth2-tool get-token outlook --client-id=(Application (client) ID from AAD) \ --tenant=(Directory (tenant) ID from AAD) \ /var/spool/postfix/etc/tokens/username@domain.onmicrosoft.com
Is there an option I need to use for PATH_TO_TOKENS_FILE ?