SOLVED

Update list items manually in sharepoint using power automate

%3CLINGO-SUB%20id%3D%22lingo-sub-1439805%22%20slang%3D%22en-US%22%3EUpdate%20list%20items%20manually%20in%20sharepoint%20using%20power%20automate%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1439805%22%20slang%3D%22en-US%22%3E%3CP%3EHello%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%20list%20%2C%20in%20which%20i%20want%20to%20update%20each%20list%20items%20permissions%20manually%2C%20means%20i%20want%20to%20trigger%20power%20automate%20flow%20manually%20once%20only%2C%20but%20I%20am%20not%20able%20to%20find%20any%20task%20in%20power%20automate%20where%20I%20can%20iterate%20each%20list%20item%20and%20update%20them%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Eis%20there%20any%20task%20to%20iterate%20each%20item%20of%20the%20list%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1439805%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EDeveloper%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ELists%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESharePoint%20Online%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1439844%22%20slang%3D%22en-US%22%3ERe%3A%20Update%20list%20items%20manually%20in%20sharepoint%20using%20power%20automate%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1439844%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F670519%22%20target%3D%22_blank%22%3E%40rautchetan27%3C%2FA%3E%26nbsp%3Byou%20need%20to%20get%20the%20items%20from%20your%20list%2C%20then%20add%20an%20Apply%20to%20each%20and%20inside%20that%20apply%20to%20each%20add%20a%20Grant%20access%20to%20an%20item%20or%20a%20folder%20action.%20If%20you%20are%20removing%20access%20you%20could%20add%20a%20Stop%20sharing%20an%20item%20or%20folder%20action%20instead.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22grantAccess.png%22%20style%3D%22width%3A%20612px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F196459iB4E290A58EADF34F%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22grantAccess.png%22%20alt%3D%22grantAccess.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ERob%3CBR%20%2F%3ELos%20Gallardos%3CBR%20%2F%3E%3CFONT%20size%3D%222%22%20color%3D%22%23333399%22%3EMicrosoft%20Power%20Automate%20Community%20Super%20User%3C%2FFONT%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1440494%22%20slang%3D%22en-US%22%3ERe%3A%20Update%20list%20items%20manually%20in%20sharepoint%20using%20power%20automate%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1440494%22%20slang%3D%22en-US%22%3E%3CP%3EI%20want%20to%20user%20Filter%20query%20on%20Get%20Items%2C%20on%20the%20column%20of%20type%20users%2Fgroups%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EUsers%2FGroup%20Column%20DisplayName%20must%20match%20with%20one%20value%20in%20string%20variable.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Ehow%20I%20can%20i%20do%20this%20comparision%2C%20because%20column%20which%20type%20is%20groups%2Fusers%20is%20not%20string%20so%20comparision%20is%20not%20working..%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Eany%20idea%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1440539%22%20slang%3D%22en-US%22%3ERe%3A%20Update%20list%20items%20manually%20in%20sharepoint%20using%20power%20automate%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1440539%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F174092%22%20target%3D%22_blank%22%3E%40Rob%20Elliott%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Ein%20my%20Filter%20query%20of%20%22Get%20items%22%3C%2FP%3E%3CP%3EVendor%20eq%20'IT'%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Ewhere%20Vendor%20Column%20type%20is%20Group%2Fusers%20and%20not%20String%2FText%20%2C%20thats%20why%20above%20query%20is%20not%20working.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20want%20to%20compare%20Vendor%20columns%20DisplayName%20with%20String.%3C%2FP%3E%3CP%3EHow%20I%20can%20do%20that%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1440643%22%20slang%3D%22en-US%22%3ERe%3A%20Update%20list%20items%20manually%20in%20sharepoint%20using%20power%20automate%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1440643%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F670519%22%20target%3D%22_blank%22%3E%40rautchetan27%3C%2FA%3E%26nbsp%3B%3A%20You%20can%20also%26nbsp%3B%3CSPAN%3Estore%20the%20user%20claims%20in%20the%20string%20variable%20and%20compare.%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1440709%22%20slang%3D%22en-US%22%3ERe%3A%20Update%20list%20items%20manually%20in%20sharepoint%20using%20power%20automate%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1440709%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F670519%22%20target%3D%22_blank%22%3E%40rautchetan27%3C%2FA%3E%26nbsp%3Byou%20can't%20use%20a%20Person%2FGroup%20column%20in%20a%20Filter%20Query.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESo%20you%20need%20to%20get%20%3CU%3Eall%3C%2FU%3E%20the%20items%20from%20the%20list%20and%20then%20add%20a%20condition%20that%20checks%20if%20the%20Vendor%20DisplayName%20contains%20the%20name%20of%20your%20Vendor.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22comparePersonGroup.png%22%20style%3D%22width%3A%20950px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F196511iED6D4646DB72BA16%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22comparePersonGroup.png%22%20alt%3D%22comparePersonGroup.png%22%20%2F%3E%3C%2FSPAN%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIf%20you%20want%20to%20do%20something%20with%20all%20the%20Vendors%20then%20you%20could%20do%20this%20with%20a%20Switch%20control%20based%20on%20the%20Vendor%20DisplayName%20and%20in%20each%20case%20you'd%20add%20the%20actions%20related%20to%20that%20Vendor.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ERob%3CBR%20%2F%3ELos%20Gallardos%3CBR%20%2F%3E%3CFONT%20size%3D%222%22%20color%3D%22%23333399%22%3EMicrosoft%20Power%20Automate%20Community%20Super%20User%3C%2FFONT%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1440885%22%20slang%3D%22en-US%22%3ERe%3A%20Update%20list%20items%20manually%20in%20sharepoint%20using%20power%20automate%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1440885%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F174092%22%20target%3D%22_blank%22%3E%40Rob%20Elliott%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20am%20same%20logic%20and%20condition%20VendordisplayName%20contains%2C%20but%20getting%20following%20error%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CDIV%20class%3D%22main-container%22%3E%3CDIV%20class%3D%22body-container%22%3E%3CDIV%20class%3D%22content-container%22%3E%3CDIV%20class%3D%22landing%22%3E%3CDIV%20class%3D%22manage-flow-section%22%3E%3CDIV%20class%3D%22manage-flow-details%22%3E%3CDIV%20class%3D%22flow-designer-container%20message-bar-spacer%22%3E%3CDIV%20class%3D%22msla-container%20msla-host-processsimple%22%3E%3CDIV%20class%3D%22ms-Fabric%20is-focusHidden%20ms-Fabric--isFocusHidden%20root-98%22%3E%3CDIV%3E%3CDIV%20class%3D%22msla-monitor-container%20msla-transform-interactive-zone%22%3E%3CDIV%20class%3D%22msla-monitor-canvas%20msla-transform-interactive-zone%22%3E%3CDIV%20class%3D%22msla-designer-canvas-parallel%22%3E%3CDIV%20class%3D%22msla-card-container%22%3E%3CDIV%20class%3D%22msla-card-flex%20msla-transform-interactive-zone%22%3E%3CDIV%20class%3D%22msla-card-view-div%22%3E%3CDIV%20class%3D%22msla-card-view%22%3E%3CDIV%20class%3D%22msla-card-children%22%3E%3CDIV%20class%3D%22msla-card-container%22%3E%3CDIV%20class%3D%22msla-card-flex%20msla-transform-interactive-zone%22%3E%3CDIV%20class%3D%22msla-card-view-div%22%3E%3CDIV%20class%3D%22msla-card-view%22%3E%3CDIV%20class%3D%22msla-card-children%22%3E%3CDIV%20class%3D%22msla-card-container%22%3E%3CDIV%20class%3D%22msla-card-flex%20msla-transform-interactive-zone%22%3E%3CDIV%20class%3D%22msla-card-view-div%22%3E%3CDIV%20class%3D%22msla-card-view%22%3E%3CDIV%20class%3D%22msla-card-caption%20msla-transform-interactive-zone%22%3E%3CDIV%20class%3D%22msla-card%20msla-monitoring-card%20msla-card-variable-width%22%3E%3CDIV%20class%3D%22msla-card-body%20msla-has-errors%22%3E%3CDIV%20class%3D%22msla-card-scope-body%22%3E%3CDIV%20class%3D%22msla-card-scope-body-canvas%22%3E%3CDIV%20class%3D%22msla-card-foreach-body%22%3E%3CDIV%20class%3D%22msla-card-container%22%3E%3CDIV%20class%3D%22msla-card-flex%20msla-transform-interactive-zone%22%3E%3CDIV%20class%3D%22msla-card-view-div%22%3E%3CDIV%20class%3D%22msla-card-view%22%3E%3CDIV%20class%3D%22msla-card-caption%20msla-transform-interactive-zone%22%3E%3CDIV%20class%3D%22msla-if%22%3E%3CDIV%20class%3D%22msla-condition-expanded%20msla-condition-single%22%3E%3CDIV%3E%3CDIV%3E%3CDIV%20class%3D%22msla-card%20msla-monitoring-card%20msla-card-selected%22%3E%3CDIV%20class%3D%22msla-card-body%22%3E%3CDIV%20class%3D%22msla-card-condition-body%20msla-transform-interactive-zone%22%3E%3CDIV%20class%3D%22msla-card-condition-parameters%20msla-condition-single%22%3E%3CDIV%20class%3D%22msla-card-condition-parameters-body%20msla-monitoring-parameters-card-body%20msla-scope-error-panel%20no-padding%22%3E%3CDIV%3E%3CDIV%20class%3D%22ms-MessageBar%20ms-MessageBar--severeWarning%20ms-MessageBar-multiline%20msla-trace-error%20root-753%22%3E%3CDIV%20class%3D%22ms-MessageBar-content%20content-733%22%3E%3CDIV%20class%3D%22ms-MessageBar-text%20text-755%22%3E%3CSPAN%20class%3D%22ms-MessageBar-innerText%20innerText-737%22%3E%3CSPAN%3EUnable%20to%20process%20template%20language%20expressions%20for%20action%20'Condition'%20at%20line%20'1'%20and%20column%20'2851'%3A%20'The%20template%20language%20function%20'contains'%20expects%20its%20first%20argument%20'collection'%20to%20be%20a%20dictionary%20(object)%2C%20an%20array%20or%20a%20string.%20The%20provided%20value%20is%20of%20type%20'Null'.'.%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%20class%3D%22ms-MessageBar-text%20text-755%22%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%20class%3D%22ms-MessageBar-text%20text-755%22%3E%3CDIV%20class%3D%22mceNonEditable%20lia-copypaste-placeholder%22%3E%26nbsp%3B%3C%2FDIV%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1440914%22%20slang%3D%22en-US%22%3ERe%3A%20Update%20list%20items%20manually%20in%20sharepoint%20using%20power%20automate%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1440914%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F670519%22%20target%3D%22_blank%22%3E%40rautchetan27%3C%2FA%3E%26nbsp%3Byou%20must%20make%20sure%20that%20the%20Vendor%20column%20always%20has%20a%20value%20in%20it%20and%20isn't%20empty%20(which%20is%20the%20reason%20for%20the%20error%20message).%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ERob%3CBR%20%2F%3ELos%20Gallardos%3CBR%20%2F%3E%3CFONT%20size%3D%222%22%20color%3D%22%23333399%22%3EMicrosoft%20Power%20Automate%20Community%20Super%20User%3C%2FFONT%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1441035%22%20slang%3D%22en-US%22%3ERe%3A%20Update%20list%20items%20manually%20in%20sharepoint%20using%20power%20automate%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1441035%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F174092%22%20target%3D%22_blank%22%3E%40Rob%20Elliott%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%2C%20I%20got%20it%20and%20fixed%20it..thanks%20for%20the%20help..%3C%2FP%3E%3CP%3EAnother%20thing%20is%2C%20In%20my%20Get%20items%20list%2C%20I%20have%20more%20than%201400%20Records%2C%20but%20%22Apply%20to%20each%22%20show%20only%20100%20records%2CPlease%20see%20attached%20image.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Ewhy%20this%20happening%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1441040%22%20slang%3D%22en-US%22%3ERe%3A%20Update%20list%20items%20manually%20in%20sharepoint%20using%20power%20automate%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1441040%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F670519%22%20target%3D%22_blank%22%3E%40rautchetan27%3C%2FA%3E%26nbsp%3Bit's%20happening%20because%20by%20default%20Get%20items%20only%20returns%20the%20first%20100%20items.%20You%20need%20to%20go%20to%20the%20Settings%20(3%20dots%20at%20the%20top%20right)%20for%20the%20Get%20items%2C%20turn%20on%20the%20pagination%20toggle%20and%20change%20it%20to%20something%20like%202000.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ERob%3CBR%20%2F%3ELos%20Gallardos%3CBR%20%2F%3E%3CFONT%20size%3D%222%22%20color%3D%22%23333399%22%3EMicrosoft%20Power%20Automate%20Community%20Super%20User%3C%2FFONT%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1441121%22%20slang%3D%22en-US%22%3ERe%3A%20Update%20list%20items%20manually%20in%20sharepoint%20using%20power%20automate%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1441121%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F174092%22%20target%3D%22_blank%22%3E%40Rob%20Elliott%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EMany%20Thanks!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1447655%22%20slang%3D%22en-US%22%3ERe%3A%20Update%20list%20items%20manually%20in%20sharepoint%20using%20power%20automate%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1447655%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F174092%22%20target%3D%22_blank%22%3E%40Rob%20Elliott%3C%2FA%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EI%20am%20using%20%22Grant%20access%20to%20an%20item%20or%20a%20folder%22%20and%20giving%20Role%20%22Can%20Edit%22%20to%20one%20of%20the%20user%20using%20Flow.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Eafter%20running%20flow%2C%20user%20able%20Edit%20Records%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Ebut%20when%20I%20want%20to%20rollback%20Edit%20rights%2C%20I%20am%20running%20flow%20for%20same%20user%20and%20giving%20Role%20%22Can%20view%22%3C%2FP%3E%3CP%3Ehe%20is%20stil%20able%20to%20edit%2C%20what%20I%20want%2C%20read%20only%20access%20now%20and%20not%20edit%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1448282%22%20slang%3D%22en-US%22%3ERe%3A%20Update%20list%20items%20manually%20in%20sharepoint%20using%20power%20automate%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1448282%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F679665%22%20target%3D%22_blank%22%3E%40Ashish_Kohale%3C%2FA%3E%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F174092%22%20target%3D%22_blank%22%3E%40Rob%20Elliott%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20am%20usingPlumsail_SP%2C%20Change%20sharepoint%20permission(please%20find%20attached%20screenshot)%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Ebut%20getting%20error%2Ccan%20you%20help%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1448291%22%20slang%3D%22en-US%22%3ERe%3A%20Update%20list%20items%20manually%20in%20sharepoint%20using%20power%20automate%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1448291%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F670519%22%20target%3D%22_blank%22%3E%40rautchetan27%3C%2FA%3E%26nbsp%3BI%20can't%20help%20as%20I%20don't%20have%20the%20Plumsail%20Connectors%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ERob%3CBR%20%2F%3ELos%20Gallardos%3CBR%20%2F%3E%3CFONT%20size%3D%222%22%20color%3D%22%23333399%22%3EMicrosoft%20Power%20Automate%20Community%20Super%20User%3C%2FFONT%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1448352%22%20slang%3D%22en-US%22%3ERe%3A%20Update%20list%20items%20manually%20in%20sharepoint%20using%20power%20automate%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1448352%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F174092%22%20target%3D%22_blank%22%3E%40Rob%20Elliott%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20am%20using%20%22Grant%20access%20to%20an%20item%20or%20a%20folder%22%20and%20giving%20Role%20%22Can%20Edit%22%20to%20one%20of%20the%20user%20using%20Flow.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Eafter%20running%20flow%2C%20user%20able%20Edit%20Records%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Ebut%20when%20I%20want%20to%20rollback%20Edit%20rights%2C%20I%20am%20running%20flow%20for%20same%20user%20and%20giving%20Role%20%22Can%20view%22%3C%2FP%3E%3CP%3Ehe%20is%20stil%20able%20to%20edit%2C%20what%20I%20want%2C%20read%20only%20access%20now%20and%20not%20edit%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ECan%20you%20answer%20this%20behavior%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E
Contributor

Hello,

 

I have list , in which i want to update each list items permissions manually, means i want to trigger power automate flow manually once only, but I am not able to find any task in power automate where I can iterate each list item and update them

 

is there any task to iterate each item of the list

14 Replies

@rautchetan27 you need to get the items from your list, then add an Apply to each and inside that apply to each add a Grant access to an item or a folder action. If you are removing access you could add a Stop sharing an item or folder action instead.

 

grantAccess.png

 

Rob
Los Gallardos
Microsoft Power Automate Community Super User

I want to user Filter query on Get Items, on the column of type users/groups

 

Users/Group Column DisplayName must match with one value in string variable.

 

how I can i do this comparision, because column which type is groups/users is not string so comparision is not working..

 

any idea?

@RobElliott 

 

in my Filter query of "Get items"

Vendor eq 'IT'

 

where Vendor Column type is Group/users and not String/Text , thats why above query is not working.

 

I want to compare Vendor columns DisplayName with String.

How I can do that?

@rautchetan27 : You can also store the user claims in the string variable and compare.

@rautchetan27 you can't use a Person/Group column in a Filter Query.

 

So you need to get all the items from the list and then add a condition that checks if the Vendor DisplayName contains the name of your Vendor.

 

comparePersonGroup.png 

If you want to do something with all the Vendors then you could do this with a Switch control based on the Vendor DisplayName and in each case you'd add the actions related to that Vendor.

 

Rob
Los Gallardos
Microsoft Power Automate Community Super User

@RobElliott 

 

I am same logic and condition VendordisplayName contains, but getting following error

 

Unable to process template language expressions for action 'Condition' at line '1' and column '2851': 'The template language function 'contains' expects its first argument 'collection' to be a dictionary (object), an array or a string. The provided value is of type 'Null'.'.
 
 

 

@rautchetan27 you must make sure that the Vendor column always has a value in it and isn't empty (which is the reason for the error message).

 

Rob
Los Gallardos
Microsoft Power Automate Community Super User

@RobElliott 

 

Thanks, I got it and fixed it..thanks for the help..

Another thing is, In my Get items list, I have more than 1400 Records, but "Apply to each" show only 100 records,Please see attached image.

 

why this happening?

best response confirmed by rautchetan27 (Contributor)
Solution

@rautchetan27 it's happening because by default Get items only returns the first 100 items. You need to go to the Settings (3 dots at the top right) for the Get items, turn on the pagination toggle and change it to something like 2000.

 

Rob
Los Gallardos
Microsoft Power Automate Community Super User

@Rob Elliott 

I am using "Grant access to an item or a folder" and giving Role "Can Edit" to one of the user using Flow.

 

after running flow, user able Edit Records,

 

but when I want to rollback Edit rights, I am running flow for same user and giving Role "Can view"

he is stil able to edit, what I want, read only access now and not edit

@Ashish_Kohale @RobElliott 

 

I am usingPlumsail_SP, Change sharepoint permission(please find attached screenshot)

 

but getting error,can you help

@rautchetan27 I can't help as I don't have the Plumsail Connectors

 

Rob
Los Gallardos
Microsoft Power Automate Community Super User

@RobElliott 

 

I am using "Grant access to an item or a folder" and giving Role "Can Edit" to one of the user using Flow.

 

after running flow, user able Edit Records,

 

but when I want to rollback Edit rights, I am running flow for same user and giving Role "Can view"

he is stil able to edit, what I want, read only access now and not edit

 

Can you answer this behavior?