My employer was acquired in the last year and as such we've moved across to their O365 tenant. I've recreated a flow that was working perfectly on the old tenant (put form responses into html tables and email them), but now seems to be causing issues.
I have an 'apply to each' step that, in the old flow, used 'outputs('Get_response_details')?['body/value'] as its output from a previous step. In the new tenant, my only options seem to be body, body/resourceData, and body/resourceData/responseId, and manually inputting body/value gives the following error:
The execution of template action 'Apply_to_each' failed: the result of the evaluation of 'foreach' expression '@outputs('Get_response_details')?['body/value']' is of type 'Null'. The result must be a valid array.
All other options are of Object type, and similarly do not work.
Has anyone experienced (and hopefully resolved) this before? Any help is appreciated.