Using AF for Power Automate and 365 Exchange

Tom Wrigglesworth 91 Reputation points
2024-07-12T11:00:22.73+00:00

Hello,

I am currently learning AF at the moment so not sure if this is a simple question. Is it possible to run a Power Automate flow that triggers a Azure Function, to run a PowerShell command to convert a user to a shared mailbox, without any user intervention?

Reading around, some websites say no and some say yes so a tad confused.

If there's an easier way to go about this, that would be welcomed.

Kind regards

Tom

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
5,764 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

  2. Dillon Silzer 57,716 Reputation points
    2024-07-13T19:58:49.8766667+00:00

    Hi Tom,

    Just to add to what Thomas has already stated you also need to ensure that you set up a Service Principal/Managed Identity. You cannot run anything in AF without the ability to do a non-interactive signin.

    Register a Microsoft Entra app and create a service principal

    https://learn.microsoft.com/en-us/entra/identity-platform/howto-create-service-principal-portal


    If this is helpful please accept as answer or upvote.

    Best regards,

    Dillon Silzer, Director | Cloudaen.com | Cloudaen Computing Solutions

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.