
rfzfa (rfzfa) asked a question.
Hello, I would like to setup an Okta Workflow that for example send en email when we have deprovisioned an Okta Account.
Within our organization we are using O365 but by default using a personal mailbox (and connecting to this personal email box) is not allowed (disabled by the administrators).
When I test this in an Okta preview environment with a separate O365 test tenant (and connect with mailbox credentials) this is possible (not limited by Administrator policies)
I reached out to our O365 Administrator team. They asked me if Modern Authentication is not possible from Okta using a Secret key and Token to connect to a Shared O365 mailbox.
They also spoke about O365 and Graph.
Is this possible and if yes how should (could) the be setup?
Any Idea?
Thanks for your help.

Hello, this is Eusebiu,
As there are lots of details for your workflow creation, and this might require a meeting to completely understand the flow, the best course of action would be to create a ticket that our support team can assist.
Alternatively, you can consult the Workflows documentation here:
https://help.okta.com/en/prod/Content/Topics/Workflows/workflows-main.htm
Thank you for understanding!
Hi Alex,
I don't understand where is the issue/limitation ? Or maybe your O365 team does not allow personal mailbox for technical/service use case ? 🙂
You could use "O365 mail connector" within your workflows.
https://help.okta.com/wf/en-us/Content/Topics/Workflows/connector-reference/office365mail/office365mail.htm
Hello Stéphane,
You are right, our O365 team doesn't allow personal mailboxes for Service usage (they prefer groups mailboxes) and use a token and access key to connect (something with the license I understood).
Hi Alex,
ok, indeed a shared mailbox doesn’t have a username and password and users cannot log into it directly. It doesn't need a license too 🙂