Hello @Mike Kiser ,
Thanks for the ask and using the Microsoft Q&A platform .
I see that you have mentioned that you are using the switch statment . Since you have not shared the expression for the switch statement I am going to make some assuming but i think the issue is in the expression in the switch statement . The
"Expression that must evaluate to string value" , please read about that here . Also you mentioned about the phonenumber but the error complains about PhoneType . Are you missing something ?. Please share the JSON of the pipeline .
I think you will have to set the PhoneType in the expression . I am sharing a dummy pipeline below where I use the switch statement and read the first value from the phone and try to find the country which it belongs ( all dummy data , but i guess it may help you ) .
Thanks
Himanshu
Please do consider to click on "Accept Answer" and "Up-vote" on the post that helps you, as it can be beneficial to other community members