Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Unanswered

Flow failed with error 'shared_office365_1' doesn't exist

(0) ShareShare
ReportReport
Posted on by 2

It was working fine for a year. It just failed recently with error below.

 

Unable to process template language expressions in action 'Send_an_email_(V2)' inputs at line '0' and column '0': 'The template language expression 'json(decodeBase64(secrets('X-MS-APIM-Tokens')))['$connections']['shared_office365_1']['connectionId']' cannot be evaluated because property 'shared_office365_1' doesn't exist, available properties are 'shared_sharepointonline_1, shared_office365'. 

 

What will be the reason and how can I fix it? Thanks.

  • alexhks Profile Picture
    2 on at
    Re: Flow failed with error 'shared_office365_1' doesn't exist

    Hi aido,

    Thanks for your reply. Can you show steps on disconnecting and reconnecting the flow's connections? Even I did that before, just want to make sure it's correct steps.

    Another thing is when I use owner account to run the flow, it works without any issue.

  • aido Profile Picture
    26 on at
    Re: Flow failed with error 'shared_office365_1' doesn't exist

    Thanks for sharing @alexhks.

     

    I recently encountered a similar problem with the data in my JSON. Though not as specific as what you are reporting, I will do my best to explain what I believe is going on and how to resolve the problem.


    This error indicates that the property 'shared_office365_1' specified in the JSON data decoded from the base64-encoded secrets is not available.

     

    First, have you tried disconnecting and reconnecting the flow's connections? Simply doing so sometimes works for me.

     

    Otherwise, updating the reference to the correct property in the JSON data is a similar solution to correct this error. Change the reference to 'shared_sharepointonline_1' or 'shared_office365' depending on which of these properties is present in your environment.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,524 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,906 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow