Hi...
I'm creating a flow so that the new member is automatically added to a sharepoint group, but I get an error.
Whats wrong?
" Exception of type 'System.ArgumentException' was thrown.
Parameter name: encodedValue...
Solved! Go to Solution.
Hi @skindu,
It looks like you didn't include the membership in the prefix of the LoginName value.
Can you try this instead in the body:
{ '__metadata': { 'type': 'SP.User' }, 'LoginName':'i:0#.f|membership|@{outputs('Get_user_profile_(V2)')?['body/userPrincipalName']}' }
Hi @skindu,
It looks like you didn't include the membership in the prefix of the LoginName value.
Can you try this instead in the body:
{ '__metadata': { 'type': 'SP.User' }, 'LoginName':'i:0#.f|membership|@{outputs('Get_user_profile_(V2)')?['body/userPrincipalName']}' }
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
Learn to digitize and optimize business processes and connect all your applications to share data in real time.
User | Count |
---|---|
12 | |
9 | |
7 | |
7 | |
7 |
User | Count |
---|---|
19 | |
18 | |
17 | |
10 | |
7 |