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

Notifications

Announcements

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:
I have the same question (0)
  • 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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 462 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 456 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard