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 / Permission lockdown in...
Power Automate
Unanswered

Permission lockdown in SharePoint List

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi,

I am getting below error while trying to apply permission lockdown in SharePoint list using power automate.

Unable to process template language expressions in action 'Initialize_variable_4' inputs at line '1' and column '2899': 'The template language expression 'body('Get_Principal_ID')['d']['id']' cannot be evaluated because property 'd' cannot be selected. Array elements can only be selected using an integer index. Please see https://aka.ms/logicexpressions for usage details.'.

vkumar6_0-1594445080840.png

 

Categories:
  • efialttes Profile Picture
    14,756 on at

    Hi!

    According to the text error, you must have an action block called 'Get Principal ID' that provides an array as its output somewhere in your flow, but I cannot see it on the screenshot you shared. Maybe inside the 'Apply to each'?

    I would suggest you to share a screenshot from your flow design, and remember to expand the relevant action blocks by doubleclicking on them, so we can figure out their input details

    Thanx!

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Please find the attached snapshot. Reviewer1 is people picker control with multiple selection. I want to lockdown permission once approver approved item( want to set read permission once workflow approval done)

     

    vkumar6_0-1594652830261.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
Mohsin Ali Profile Picture

Mohsin Ali 430

#2
11manish Profile Picture

11manish 341 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 282

Last 30 days Overall leaderboard