cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
GAWSneakerz
Level: Powered On

Array invalid when using for each loop

Hi!

 

Hope someone can help me, trying to setup email notificiations of the Office 365 Message Center through flow.

I already have the service status working but strugling with the messages part.

 

Received error:


ExpressionEvaluationFailed. The execution of template action 'Apply_to_each_3' failed: the result of the evaluation of 'foreach' expression '@body('Parse_JSON_2')?['body']?['value']' is of type 'Null'. The result must be a valid array.

 

When selecting the value array in the for each loop and running the flow it fails saying that the array null.

 

Part received JSON:

{
  "content": {
    "@odata.context": "https://office365servicecomms-prod.cloudapp.net/api/v1.0/tenant-id/$metadata#Messages",
    "value": [
      {
        "AffectedWorkloadDisplayNames": [],
        "AffectedWorkloadNames": [],
        "Status": "Service restored",
        "Workload": "Exchange",
        "WorkloadDisplayName": "Exchange Online",
        "ActionType": null,
        "AffectedTenantCount": 18158962,
        "AffectedUserCount": null,
        "Classification": "Advisory",
        "EndTime": "2019-06-10T15:32:00Z",
        "Feature": "Access",
        "FeatureDisplayName": "E-Mail and calendar access",
        "UserFunctionalImpact": "",
        "Id": "EX180893",
        "ImpactDescription": "Users may have been unable to restore or purge items from the Recover Deleted Items (RDI) folder when using Outlook.",
        "LastUpdatedTime": "2019-06-10T15:52:23.85Z",
        "MessageType": "Incident",
        "Messages": [
          {
            "MessageText": "Title: Can't purge or restore items in Outlook\n\nUser Impact: Users may be unable to restore or purge items from the recover deleted items (RDI) folder when using Outlook.\n\nCurrent status: We're investigating a potential issue and checking for impact to your organization. We'll provide an update within 30 minutes. \n\nScope of impact: This issue affects internal Microsoft users only. ",
            "PublishedTime": "2019-05-28T21:06:13.257Z"
          },
          {
            "MessageText": "Title: Can't purge or restore items in Outlook\n\nUser Impact: Users may be unable to restore or purge items from the Recover Deleted Items (RDI) folder when using Outlook.\n\nCurrent status: We've identified that a Messaging Application Programming Interface (MAPI) call is failing which may be causing some users to be unable to restore or purge items in the RDI folder properly. We're working to isolate the root cause of the MAPI failure and determine our next troubleshooting steps. \n\nScope of impact: This issue affects internal Microsoft users only and is specific to users attempting to recover or purge deleted items. \n\nRoot cause: A Messaging Application Programming Interface (MAPI) call is failing which is causing some users to be unable to restore or purge items in the RDI folder. \n\nNext update by: Tuesday, May 28, 2019, at 11:30 PM UTC",
            "PublishedTime": "2019-05-28T21:27:51.957Z"
          },
          {
            "MessageText": "Title: Can't purge or restore items in Outlook\n\nUser Impact: Users may be unable to restore or purge items from the Recover Deleted Items (RDI) folder when using Outlook.\n\nMore info: As a workaround, users may be able to use Outlook on the web to restore or purge items from the RDI folder. \n\nCurrent status: Our investigation has determined that a recent change to a portion of Outlook code that facilitates item restoration may be causing MAPI calls to fail. We're analyzing recent updates to the environment to pinpoint the problem source and explore mitigation options. \n\nScope of impact: This issue affects internal Microsoft users only and is specific to users attempting to recover or purge deleted items. \n\nRoot cause: A recent code change may be causing Messaging Application Programming Interface (MAPI) calls to fail, preventing some users from restoring or purging items in the RDI folder. \n\nNext update by: Wednesday, May 29, 2019, at 1:30 AM UTC ",
            "PublishedTime": "2019-05-28T23:09:08.4Z"
          },
          {
            "MessageText": "Title: Can't purge or restore items in Outlook\n\nUser Impact: Users may be unable to restore or purge items from the Recover Deleted Items (RDI) folder when using Outlook.\n\nMore info: As a workaround, users may be able to use Outlook on the web to restore or purge items from the RDI folder. \n\nCurrent status: Our investigation into the recent updates has not shown any obvious or significant reasons for impact and will require extensive analysis. We've requested and initiated additional logging on the affected portion of infrastructure to gain further understanding of the issue. We suspect our review of this logging will take approximately 1 to 2 days to fully complete. \n\nScope of impact: This issue affects internal Microsoft users only and is specific to users attempting to recover or purge deleted items. \n\nRoot cause: A recent code change may be causing Messaging Application Programming Interface (MAPI) calls to fail, preventing some users from restoring or purging items in the RDI folder. \n\nNext update by: Friday, May 31, 2019, at 12:00 AM UTC ",
            "PublishedTime": "2019-05-29T01:09:47.15Z"
          },
          {
            "MessageText": "Title: Can't purge or restore items in Outlook\n\nUser Impact: Users may be unable to restore or purge items from the Recover Deleted Items (RDI) folder when using Outlook.\n\nMore info: As a workaround, users may be able to use Outlook on the web to restore or purge items from the RDI folder. \n\nCurrent status: Our deployment of additional logging to the affected infrastructure has taken longer than anticipated. Once our logging is fully enabled, we will proceed with our reproduction of the issue and log analysis to help determine the next steps towards mitigation. \n\nScope of impact: This impact is specific to users attempting to recover or purge deleted items if routed through the affected infrastructure. \n\nRoot cause: A recent code change may be causing Messaging Application Programming Interface (MAPI) calls to fail, preventing some users from restoring or purging items in the RDI folder. \n\nNext update by: Friday, May 31, 2019, at 8:00 PM UTC ",
            "PublishedTime": "2019-05-30T23:40:14.697Z"
          },
          {
            "MessageText": "Title: Can't purge or restore items in Outlook\n\nUser Impact: Users may be unable to restore or purge items from the Recover Deleted Items (RDI) folder when using Outlook.\n\nMore info: As a workaround, users may be able to use Outlook on the web to restore or purge items from the RDI folder. \n\nCurrent status: We've deployed additional logging mechanisms to a portion of the affected environment and are working to reproduce the issue. We'll analyze data captured during the reproduction to better understand the cause of the problem and to determine a plan to restore service. \n\nScope of impact: This impact is specific to users attempting to recover or purge deleted items. \n\nRoot cause: A recent code change may be causing Messaging Application Programming Interface (MAPI) calls to fail, preventing some users from restoring or purging items in the RDI folder. \n\nNext update by: Saturday, June 1, 2019, at 1:00 AM UTC",
            "PublishedTime": "2019-05-31T18:31:45.027Z"
          },
          {
            "MessageText": "Title: Can't purge or restore items in Outlook\n\nUser Impact: Users may be unable to restore or purge items from the Recover Deleted Items (RDI) folder when using Outlook.\n\nMore info: As a workaround, users may be able to use Outlook on the web to restore or purge items from the RDI folder. \n\nCurrent status: We reproduced the issue and analyzed the data associated with the reproduction. We've ruled out a few potential causes for this problem and are working to deploy new logging mechanisms to gather more verbose logs for further investigation. \n\nScope of impact: This impact is specific to users attempting to recover or purge deleted items. \n\nNext update by: Wednesday, June 5, 2019, at 7:00 PM UTC",
            "PublishedTime": "2019-06-04T17:24:52.873Z"
          },
          {
            "MessageText": "Title: Can't purge or restore items in Outlook\n\nUser Impact: Users may be unable to restore or purge items from the Recover Deleted Items (RDI) folder when using Outlook.\n\nMore info: As a workaround, users may be able to use Outlook on the web to restore or purge items from the RDI folder.\n\nCurrent status: We've successfully implemented the additional logging and our analysis of the gathered logs indicate that a recent code change is causing the ability to restore or purge items to not function as expected. We're working on reverting the offending change to resolve the issue.\n\nScope of impact: This impact is specific to users attempting to recover or purge deleted items.\n\nStart time: Friday, May 24, 2019, at 12:00 AM UTC \n\nRoot cause: A recent code update is inadvertently causing the recover and purge item feature to not function as expected.\n\nNext update by: Wednesday, June 5, 2019, at 7:00 PM UTC",
            "PublishedTime": "2019-06-04T23:45:07.327Z"
          },

 

Parsing received JSON:

{
    "type": "object",
    "properties": {
        "body": {
            "type": "object",
            "properties": {
                "@@odata.context": {
                    "type": "string"
                },
                "value": {
                    "type": "array",
                    "items": {
                        "type": "object",
                        "properties": {
                            "AffectedWorkloadDisplayNames": {
                                "type": "array"
                            },
                            "AffectedWorkloadNames": {
                                "type": "array"
                            },
                            "Status": {
                                "type": "string"
                            },
                            "Workload": {
                                "type": "string"
                            },
                            "WorkloadDisplayName": {
                                "type": "string"
                            },
                            "ActionType": {},
                            "AffectedTenantCount": {
                                "type": "integer"
                            },
                            "AffectedUserCount": {},
                            "Classification": {
                                "type": "string"
                            },
                            "EndTime": {
                                "type": "string"
                            },
                            "Feature": {
                                "type": "string"
                            },
                            "FeatureDisplayName": {
                                "type": "string"
                            },
                            "UserFunctionalImpact": {
                                "type": "string"
                            },
                            "Id": {
                                "type": "string"
                            },
                            "ImpactDescription": {
                                "type": "string"
                            },
                            "LastUpdatedTime": {
                                "type": "string"
                            },
                            "MessageType": {
                                "type": "string"
                            },
                            "Messages": {
                                "type": "array",
                                "items": {
                                    "type": "object",
                                    "properties": {
                                        "MessageText": {
                                            "type": "string"
                                        },
                                        "PublishedTime": {
                                            "type": "string"
                                        }
                                    },
                                    "required": [
                                        "MessageText",
                                        "PublishedTime"
                                    ]
                                }
                            },
                            "PostIncidentDocumentUrl": {},
                            "Severity": {
                                "type": "string"
                            },
                            "StartTime": {
                                "type": "string"
                            },
                            "Title": {
                                "type": "string"
                            },
                            "@@odata.type": {
                                "type": "string"
                            },
                            "ActionRequiredByDate": {},
                            "AnnouncementId": {
                                "type": "integer"
                            },
                            "Category": {
                                "type": "string"
                            },
                            "MessageTagNames": {
                                "type": "array"
                            },
                            "ExternalLink": {
                                "type": "string"
                            },
                            "IsDismissed": {
                                "type": "boolean"
                            },
                            "IsRead": {
                                "type": "boolean"
                            },
                            "IsMajorChange": {
                                "type": "boolean"
                            },
                            "PreviewDuration": {},
                            "AppliesTo": {},
                            "MilestoneDate": {
                                "type": "string"
                            },
                            "Milestone": {
                                "type": "string"
                            },
                            "BlogLink": {
                                "type": "string"
                            },
                            "HelpLink": {
                                "type": "string"
                            },
                            "FlightName": {},
                            "FeatureName": {}
                        },
                        "required": [
                            "AffectedWorkloadDisplayNames",
                            "AffectedWorkloadNames",
                            "Status",
                            "Workload",
                            "WorkloadDisplayName",
                            "ActionType",
                            "AffectedTenantCount",
                            "AffectedUserCount",
                            "Classification",
                            "EndTime",
                            "Feature",
                            "FeatureDisplayName",
                            "UserFunctionalImpact",
                            "Id",
                            "ImpactDescription",
                            "LastUpdatedTime",
                            "MessageType",
                            "Messages",
                            "PostIncidentDocumentUrl",
                            "Severity",
                            "StartTime",
                            "Title"
                        ]
                    }
                }
            }
        }
    }
} 

 

Parsed part:

{
  "body": {
    "@odata.context": "https://office365servicecomms-prod.cloudapp.net/api/v1.0/tenant-id/$metadata#Messages",
    "value": [
      {
        "AffectedWorkloadDisplayNames": [],
        "AffectedWorkloadNames": [],
        "Status": "Service restored",
        "Workload": "Exchange",
        "WorkloadDisplayName": "Exchange Online",
        "ActionType": null,
        "AffectedTenantCount": 18158962,
        "AffectedUserCount": null,
        "Classification": "Advisory",
        "EndTime": "2019-06-10T15:32:00Z",
        "Feature": "Access",
        "FeatureDisplayName": "E-Mail and calendar access",
        "UserFunctionalImpact": "",
        "Id": "EX180893",
        "ImpactDescription": "Users may have been unable to restore or purge items from the Recover Deleted Items (RDI) folder when using Outlook.",
        "LastUpdatedTime": "2019-06-10T15:52:23.85Z",
        "MessageType": "Incident",
        "Messages": [
          {
            "MessageText": "Title: Can't purge or restore items in Outlook\n\nUser Impact: Users may be unable to restore or purge items from the recover deleted items (RDI) folder when using Outlook.\n\nCurrent status: We're investigating a potential issue and checking for impact to your organization. We'll provide an update within 30 minutes. \n\nScope of impact: This issue affects internal Microsoft users only. ",
            "PublishedTime": "2019-05-28T21:06:13.257Z"
          },
          {
            "MessageText": "Title: Can't purge or restore items in Outlook\n\nUser Impact: Users may be unable to restore or purge items from the Recover Deleted Items (RDI) folder when using Outlook.\n\nCurrent status: We've identified that a Messaging Application Programming Interface (MAPI) call is failing which may be causing some users to be unable to restore or purge items in the RDI folder properly. We're working to isolate the root cause of the MAPI failure and determine our next troubleshooting steps. \n\nScope of impact: This issue affects internal Microsoft users only and is specific to users attempting to recover or purge deleted items. \n\nRoot cause: A Messaging Application Programming Interface (MAPI) call is failing which is causing some users to be unable to restore or purge items in the RDI folder. \n\nNext update by: Tuesday, May 28, 2019, at 11:30 PM UTC",
            "PublishedTime": "2019-05-28T21:27:51.957Z"
          },
          {
            "MessageText": "Title: Can't purge or restore items in Outlook\n\nUser Impact: Users may be unable to restore or purge items from the Recover Deleted Items (RDI) folder when using Outlook.\n\nMore info: As a workaround, users may be able to use Outlook on the web to restore or purge items from the RDI folder. \n\nCurrent status: Our investigation has determined that a recent change to a portion of Outlook code that facilitates item restoration may be causing MAPI calls to fail. We're analyzing recent updates to the environment to pinpoint the problem source and explore mitigation options. \n\nScope of impact: This issue affects internal Microsoft users only and is specific to users attempting to recover or purge deleted items. \n\nRoot cause: A recent code change may be causing Messaging Application Programming Interface (MAPI) calls to fail, preventing some users from restoring or purging items in the RDI folder. \n\nNext update by: Wednesday, May 29, 2019, at 1:30 AM UTC ",
            "PublishedTime": "2019-05-28T23:09:08.4Z"
          },
          {
            "MessageText": "Title: Can't purge or restore items in Outlook\n\nUser Impact: Users may be unable to restore or purge items from the Recover Deleted Items (RDI) folder when using Outlook.\n\nMore info: As a workaround, users may be able to use Outlook on the web to restore or purge items from the RDI folder. \n\nCurrent status: Our investigation into the recent updates has not shown any obvious or significant reasons for impact and will require extensive analysis. We've requested and initiated additional logging on the affected portion of infrastructure to gain further understanding of the issue. We suspect our review of this logging will take approximately 1 to 2 days to fully complete. \n\nScope of impact: This issue affects internal Microsoft users only and is specific to users attempting to recover or purge deleted items. \n\nRoot cause: A recent code change may be causing Messaging Application Programming Interface (MAPI) calls to fail, preventing some users from restoring or purging items in the RDI folder. \n\nNext update by: Friday, May 31, 2019, at 12:00 AM UTC ",
            "PublishedTime": "2019-05-29T01:09:47.15Z"
          },
          {
            "MessageText": "Title: Can't purge or restore items in Outlook\n\nUser Impact: Users may be unable to restore or purge items from the Recover Deleted Items (RDI) folder when using Outlook.\n\nMore info: As a workaround, users may be able to use Outlook on the web to restore or purge items from the RDI folder. \n\nCurrent status: Our deployment of additional logging to the affected infrastructure has taken longer than anticipated. Once our logging is fully enabled, we will proceed with our reproduction of the issue and log analysis to help determine the next steps towards mitigation. \n\nScope of impact: This impact is specific to users attempting to recover or purge deleted items if routed through the affected infrastructure. \n\nRoot cause: A recent code change may be causing Messaging Application Programming Interface (MAPI) calls to fail, preventing some users from restoring or purging items in the RDI folder. \n\nNext update by: Friday, May 31, 2019, at 8:00 PM UTC ",
            "PublishedTime": "2019-05-30T23:40:14.697Z"
          },
          {
            "MessageText": "Title: Can't purge or restore items in Outlook\n\nUser Impact: Users may be unable to restore or purge items from the Recover Deleted Items (RDI) folder when using Outlook.\n\nMore info: As a workaround, users may be able to use Outlook on the web to restore or purge items from the RDI folder. \n\nCurrent status: We've deployed additional logging mechanisms to a portion of the affected environment and are working to reproduce the issue. We'll analyze data captured during the reproduction to better understand the cause of the problem and to determine a plan to restore service. \n\nScope of impact: This impact is specific to users attempting to recover or purge deleted items. \n\nRoot cause: A recent code change may be causing Messaging Application Programming Interface (MAPI) calls to fail, preventing some users from restoring or purging items in the RDI folder. \n\nNext update by: Saturday, June 1, 2019, at 1:00 AM UTC",
            "PublishedTime": "2019-05-31T18:31:45.027Z"
          },
          {
            "MessageText": "Title: Can't purge or restore items in Outlook\n\nUser Impact: Users may be unable to restore or purge items from the Recover Deleted Items (RDI) folder when using Outlook.\n\nMore info: As a workaround, users may be able to use Outlook on the web to restore or purge items from the RDI folder. \n\nCurrent status: We reproduced the issue and analyzed the data associated with the reproduction. We've ruled out a few potential causes for this problem and are working to deploy new logging mechanisms to gather more verbose logs for further investigation. \n\nScope of impact: This impact is specific to users attempting to recover or purge deleted items. \n\nNext update by: Wednesday, June 5, 2019, at 7:00 PM UTC",
            "PublishedTime": "2019-06-04T17:24:52.873Z"
          },
          {
            "MessageText": "Title: Can't purge or restore items in Outlook\n\nUser Impact: Users may be unable to restore or purge items from the Recover Deleted Items (RDI) folder when using Outlook.\n\nMore info: As a workaround, users may be able to use Outlook on the web to restore or purge items from the RDI folder.\n\nCurrent status: We've successfully implemented the additional logging and our analysis of the gathered logs indicate that a recent code change is causing the ability to restore or purge items to not function as expected. We're working on reverting the offending change to resolve the issue.\n\nScope of impact: This impact is specific to users attempting to recover or purge deleted items.\n\nStart time: Friday, May 24, 2019, at 12:00 AM UTC \n\nRoot cause: A recent code update is inadvertently causing the recover and purge item feature to not function as expected.\n\nNext update by: Wednesday, June 5, 2019, at 7:00 PM UTC",
            "PublishedTime": "2019-06-04T23:45:07.327Z"
          },
          {
            "MessageText": "Title: Can't purge or restore items in Outlook\n\nUser Impact: Users may be unable to restore or purge items from the Recover Deleted Items (RDI) folder when using Outlook.\n\nMore info: As a workaround, users may be able to use Outlook on the web to restore or purge items from the RDI folder.\n\nAdditionally, admins may be unable to purge items via PowerShell.\n\nCurrent status: We've isolated the impacting portion of the offending update and are applying a change to restore purge functionality while maintaining the other service improvements contained in the update. We expect it will take 24-48 hours for this change to reach all affected environments.\n\nScope of impact: This impact is specific to users attempting to recover or purge deleted items.\n\nStart time: Friday, May 24, 2019, at 12:00 AM UTC\n\nRoot cause: A recent update contained a change to some of our auditing code, which has inadvertently impacted the recover and purge item feature in Outlook.\n\nNext update by: Thursday, June 6, 2019, at 10:00 PM UTC",
            "PublishedTime": "2019-06-05T18:20:34.557Z"
          },
          {
            "MessageText": "Title: Can't purge or restore items in Outlook\n\nUser Impact: Users may be unable to restore or purge items from the Recover Deleted Items (RDI) folder when using Outlook.\n\nMore info: As a workaround, users may be able to use Outlook on the web to restore or purge items from the RDI folder.\n\nAdditionally, admins may be unable to purge items via PowerShell.\n\nCurrent status: We're continuing to apply the fix to restore purge functionality while maintaining the other service improvements contained in the affected update. After analysis and testing of the initial phase of the deployment, we expect that propagation will take longer than expected and will complete by Monday, June 10, 2019 at 10:00 PM UTC.\n\nScope of impact: This impact is specific to users attempting to recover or purge deleted items.\n\nStart time: Friday, May 24, 2019, at 12:00 AM UTC\n\nRoot cause: A recent update contained a change to some of our auditing code, which has inadvertently impacted the recover and purge item feature in Outlook.\n\nNext update by: Monday, June 10, 2019, at 10:00 PM UTC",
            "PublishedTime": "2019-06-06T20:30:46.753Z"
          },
          {
            "MessageText": "Title: Can't purge or restore items in Outlook\n\nUser Impact: Users may have been unable to restore or purge items from the Recover Deleted Items (RDI) folder when using Outlook.\n\nMore info: As a workaround, users may have been able to use Outlook on the web to restore or purge items from the RDI folder.\n\nAdditionally, admins may have been unable to purge items via PowerShell.\n\nFinal status: We've completed the deployment of the fix and our monitoring indicates impact remediation.\n\nScope of impact: This impact was specific to users attempting to recover or purge deleted items.\n\nStart time: Friday, May 24, 2019, at 12:00 AM UTC\n\nEnd time: Monday, June 10, 2019, at 3:32 PM UTC\n\nRoot cause: A recent update intended to improve our auditing functionality introduced a code issue that impacted the recover and purge item feature in Outlook.\n\nNext steps:\n- We're reviewing our deployment and provisioning procedures to help prevent similar problems in the future.\n\nThis is the final update for the event.",
            "PublishedTime": "2019-06-10T15:52:23.85Z"
          },
          {
            "MessageText": "Title: Can't purge or restore items in Outlook\n\nUser Impact: Users may be unable to restore or purge items from the Recover Deleted Items (RDI) folder when using Outlook.\n\nMore info: As a workaround, users may be able to use Outlook on the web to restore or purge items from the RDI folder.\n\nCurrent status: We're continuing our efforts to capture actionable data to better understand the cause of the problem and develop appropriate remediation steps.\n\nScope of impact: This impact is specific to users attempting to recover or purge deleted items.\n\nRoot cause: A recent code change may be causing Messaging Application Programming Interface (MAPI) calls to fail, preventing some users from restoring or purging items in the RDI folder.\n\nNext update by: Monday, June 3, 2019, at 6:30 PM UTC",
            "PublishedTime": "2019-05-31T22:12:32.147Z"
          },
          {
            "MessageText": "Title: Can't purge or restore items in Outlook\n\nUser Impact: Users may be unable to restore or purge items from the Recover Deleted Items (RDI) folder when using Outlook.\n\nMore info: As a workaround, users may be able to use Outlook on the web to restore or purge items from the RDI folder. \n\nCurrent status: Due to the complex nature of the problem, we've deployed an additional logging mechanism to the environment to allow us to capture fresh data to assist with our investigation. \n\nScope of impact: This impact is specific to users attempting to recover or purge deleted items. \n\nNext update by: Tuesday, June 4, 2019, at 12:00 AM UTC",
            "PublishedTime": "2019-06-03T17:40:03.373Z"
          },
          {
            "MessageText": "Title: Can't purge or restore items in Outlook\n\nUser Impact: Users may be unable to restore or purge items from the Recover Deleted Items (RDI) folder when using Outlook.\n\nMore info: As a workaround, users may be able to use Outlook on the web to restore or purge items from the RDI folder.\n\nCurrent status: The installation of the additional logging mechanism is expected to complete within a few hours. Once finished, we'll begin capturing fresh log data to help identify the underlying cause of this issue.\n\nScope of impact: This impact is specific to users attempting to recover or purge deleted items.\n\nNext update by: Tuesday, June 4, 2019, at 7:00 PM UTC",
            "PublishedTime": "2019-06-03T23:19:28.117Z"
          }
        ],
        "PostIncidentDocumentUrl": null,
        "Severity": "Sev2",
        "StartTime": "2019-05-24T00:00:00Z",
        "Title": "Can't purge or restore items in Outlook"
      },

 

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: Array invalid when using for each loop

Hi @GAWSneakerz ,

 

Could you share a screenshot of the Flow configuration?

The sample data you provided is difficult to parse and use on my side.

If you are using a template or referring a blog to configure a Flow, please share the template or the link to the blog for us to test.

 

Best Regards,

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

4 REPLIES 4
Super User
Super User

Re: Array invalid when using for each loop

Hi @GAWSneakerz ,

 

Please have a look at the below links.

 

https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/functions/function-isblank-isempty

 

https://powerusers.microsoft.com/t5/Building-Flows/Flow-fails-when-using-coalesce-to-test-field-insi...

 

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up.

 

Thanks

 



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!



Community Support Team
Community Support Team

Re: Array invalid when using for each loop

Hi @GAWSneakerz ,

 

Could you share a screenshot of the Flow configuration?

The sample data you provided is difficult to parse and use on my side.

If you are using a template or referring a blog to configure a Flow, please share the template or the link to the blog for us to test.

 

Best Regards,

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

GAWSneakerz
Level: Powered On

Re: Array invalid when using for each loop

Sooooo,

 

I've followed another guide, https://www.alanps1.io/category/power-platform/flow/page/4/

And this one is actually working correctly, now getting some nice Adaptive Cards in Teams....

 

Happy me!

Community Support Team
Community Support Team

Re: Array invalid when using for each loop

Great!

Happy Flowing!

 

Best Regar

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

Helpful resources

Announcements
firstImage

Microsoft Business Applications Virtual Launch Event

Watch the event on demand for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 Release Wave 2 Plan

Power Platform 2019 Release Wave 2 Plan

Features releasing from October 2019 through March 2020.

thirdimage

Flow Community User Group Member Badge

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

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 Flow Community Video Gallery!

Top Kudoed Authors
Users Online
Currently online: 75 members 3,793 guests
Please welcome our newest community members: