web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Unable to process temp...
Power Automate
Unanswered

Unable to process template language expressions in action

(0) ShareShare
ReportReport
Posted on by 2

Hello all! Im hoping I could get some guidance on an issue Im facing. I hope this is a simple oversight on my part but I'm using a flow from https://sharepointnomad.wordpress.com/2020/06/29/office-365-storage-utilization-alerts-with-a-power-automate-workflow/

 

This flow sets tenant storage alerting for Sharepoint by parsing the admins page json for certain parameters. Those parameters are converted into integers and with some simple div converted to a more easily readable number. I have this flow working in my lab but in prod its fails with the following error.

 

Unable to process template language expressions in action 'Initialize_intTenantStorageMB' inputs at line '0' and column '0': 'The template language function 'int' was invoked with a parameter that is not valid. The value cannot be converted to the target type.'.

 

I make sense of why this works in one tenant and not the other. The only smoking gun I have is that prod is multi geo tenant and the json being parsed has multiple identical fields (TenantStorage for Europe, TenantStorage for Asia, etc...) that int values are being initiated from. Any help would be appreciated.

Categories:
  • catlabs Profile Picture
    2 on at

     

    Parsed JSON

    catlabs_0-1677691802143.png

    catlabs_3-1677691996687.png

     

     

     

    Appending value to string variable

    catlabs_1-1677691812409.png

     

    Initializing int variable (this is the failed step). I have a similar step that succeeds when I remove this step...Also, I dont believe I need to use a compose here as it all works in my lab.

    catlabs_2-1677691830659.png

     

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 307 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 289

#3
Henil Profile Picture

Henil 127

Last 30 days Overall leaderboard