cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Aesculus
Level: Power Up

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
Community Support Team
Community Support Team

Re: Change value from Sharepoint list to text based on the choice

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
Community Support Team
Community Support Team

Re: Change value from Sharepoint list to text based on the choice

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

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors (Last 30 Days)
Users online (6,560)