Is it possible to bypass login to Outlook (Office 365 Outlook) in Logic App?

Anonymous
2022-07-06T17:16:34.363+00:00

I am working on a Logic App where it grabs a file from Outlook.

I am trying to find a way to bypass login to Outlook during the Logic App process.

The reason for this is, currently, our previous Logic App is set up so that it grabs a file from my own work email.
Our team is trying to use a team email address, but now IT is indicating that they do not allow sharing password.
So, that is the reason I am trying to see if there is a way to bypass login to Outlook.

218220-image.png

218303-image.png

Please let me know.

Thanks.

Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
3,341 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Kamlesh Kumar 3,866 Reputation points
    2022-07-06T18:55:57.09+00:00

    Hi @KingJava ,

    Welcome to Microsoft Q&A Platform. Thank you for the question.

    In this case I would suggest below 2 options that you can follow,

    1. Go with shared mailbox, check the MS documentation to know how to Create a shared mailbox
    2. Or Use the Outlook mail REST API, check the MS document for more details.

    Regards,
    Kamlesh Kumar
    BizTalk Techie

    Please don't forget to click on 205836-130616-image.png or upvote 205759-130671-image.png button whenever the information provided helps you. Original posters help the community find answers faster by identifying the correct answer. Here is How

    Want a reminder to come back and check responses? Here is how to subscribe to a Notification

    If you are interested in joining the VM program and help shape the future of Q&A: Here is how you can be part of Q&A Volunteer Moderators

    0 comments No comments

  2. MayankBargali-MSFT 70,826 Reputation points
    2022-07-07T14:33:56.07+00:00

    @KingJava Thanks for reaching out. Outlook connector needs the credentials to authenticate to which mailbox you are trying to connect and want to perform different operation. Unfortunately, there is no alternative to authenticate the connector without the credentials.

    The alternative if you are not leveraging the shared mailbox then for the first-time user can create the connection to authenticate the outlook connectors. Other logic app workflow can leverage the same connection to authenticate their workflow.

    You can update the parameters $connections for the value office365 connection ID and id pointing to the existing connection in your code view of your workflow.

    "parameters": {  
            "$connections": {  
                "value": {  
                     "office365": {  
                        "connectionId": "/subscriptions/{subscriptionID}/resourceGroups/{resourcegroup}/providers/Microsoft.Web/connections/office365",  
                        "connectionName": "office365",  
                        "id": "/subscriptions/{subscriptionID}/providers/Microsoft.Web/locations/{location}/managedApis/office365"  
                    }  
                }  
            }  
        }  
    
    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.