cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Aesculus
New Member

Change value from Sharepoint list to text based on the choice

I have a list in Sharepoint which I am looking to export to CSV and then run in powershell. This may end up being mutliple CSV's at this point as I will split the information on the list. Part user creation,  part Exchange mailbox creation and part group membership.

 

I'm wondering if it is possible to take a value from the sharepoint list and change it based on the choice i.e.
Multiple choice question: Office Location - UK, US, Egypt
If the user chose Egypt the flow would then change the answer to OU=Users,OU=Egypt,DC=Contoso,DC=com

And the same for the US:

If the user chose US the flow would then change the answer to OU=Users,OU=US,DC=Contoso,DC=com

I could then use export CSV for this answer to place the user into the correct OU.

 

I am new to this so I am unsure on how I would go about this.

1 ACCEPTED SOLUTION

Accepted Solutions
v-alzhan-msft
Community Support
Community Support

Hi @Aesculus ,

 

Does the Office Location column in the sharepoint list is a choice column allow multiple selections? 

If the Office Location column don't allow multiple selections, your requirement could be easily achieved with microsoft flow.

1.png

 

Please make sure the Office Location column should have choice:

OU=Users,OU=Egypt,DC=Contoso,DC=com

OU=Users,OU=US,DC=Contoso,DC=com

OU=Users,OU=UK,DC=Contoso,DC=com

 

 

Best regards,

Alice       

 

Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

View solution in original post

1 REPLY 1
v-alzhan-msft
Community Support
Community Support

Hi @Aesculus ,

 

Does the Office Location column in the sharepoint list is a choice column allow multiple selections? 

If the Office Location column don't allow multiple selections, your requirement could be easily achieved with microsoft flow.

1.png

 

Please make sure the Office Location column should have choice:

OU=Users,OU=Egypt,DC=Contoso,DC=com

OU=Users,OU=US,DC=Contoso,DC=com

OU=Users,OU=UK,DC=Contoso,DC=com

 

 

Best regards,

Alice       

 

Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Helpful resources

Announcements
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Users online (3,566)