cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Harsha_Bhat
Frequent Visitor

Flow JSON response null in Embedded canvas app with CRM.

I am having canvas app getting JSON result from Microsoft Flow. Normally it works fine,
but when i embedded this app with CRM (i.e. using text field control in CRM Form) ,
i am getting null JSON in power apps.

 

Note : I verified Response action schema in Flow, it works fine when app is not embedded with CRM.

Below is the Flow.

FlowFlow

 

JSON result in Collection when app is not embedded with CRM is as below.

JSON_normal.JPG

 

JSON result in Collection when app is embedded with CRM is as below.

JSON_embedded.JPG

Any help over this is appreciated.

2 REPLIES 2
v-siky-msft
Community Support
Community Support

Hi @Harsha_Bhat ,

 

I just made a test on my side, but I cannot reproduce your issue. The flow response works well in app embedded in the Form.

Snipaste_2020-06-16_14-09-57.pngSnipaste_2020-06-16_14-10-19.png

Please share more detail about your issue.  What is the flow steps? What is the Flow Running Result when app is embedded with CRM Form?

Sik

 

@v-siky-msft First of all Thank you very much for response.

 

Below image is canvas app.

powerApp.JPG

 

Below image is of Flow, Flow executes successfully. 

Flow_embedded.JPG

 

 

Canvas App details, i.e. License is premium

powerApp_premium.JPG

 

Flow Per-user plan

FlowPlan.JPG

 

Below is the JSON schema for Response Action

{
    "type": "object",
    "properties": {
        "d": {
            "type": "object",
            "properties": {
                "results": {
                    "type": "array",
                    "items": {
                        "type": "object",
                        "properties": {
                            "__metadata": {
                                "type": "object",
                                "properties": {
                                    "id": {
                                        "type": "string"
                                    },
                                    "uri": {
                                        "type": "string"
                                    },
                                    "type": {
                                        "type": "string"
                                    }
                                }
                            },
                            "Author": {
                                "type": "object",
                                "properties": {
                                    "__deferred": {
                                        "type": "object",
                                        "properties": {
                                            "uri": {
                                                "type": "string"
                                            }
                                        }
                                    }
                                }
                            },
                            "CheckedOutByUser": {
                                "type": "object",
                                "properties": {
                                    "__deferred": {
                                        "type": "object",
                                        "properties": {
                                            "uri": {
                                                "type": "string"
                                            }
                                        }
                                    }
                                }
                            },
                            "EffectiveInformationRightsManagementSettings": {
                                "type": "object",
                                "properties": {
                                    "__deferred": {
                                        "type": "object",
                                        "properties": {
                                            "uri": {
                                                "type": "string"
                                            }
                                        }
                                    }
                                }
                            },
                            "InformationRightsManagementSettings": {
                                "type": "object",
                                "properties": {
                                    "__deferred": {
                                        "type": "object",
                                        "properties": {
                                            "uri": {
                                                "type": "string"
                                            }
                                        }
                                    }
                                }
                            },
                            "ListItemAllFields": {
                                "type": "object",
                                "properties": {
                                    "__deferred": {
                                        "type": "object",
                                        "properties": {
                                            "uri": {
                                                "type": "string"
                                            }
                                        }
                                    }
                                }
                            },
                            "LockedByUser": {
                                "type": "object",
                                "properties": {
                                    "__deferred": {
                                        "type": "object",
                                        "properties": {
                                            "uri": {
                                                "type": "string"
                                            }
                                        }
                                    }
                                }
                            },
                            "ModifiedBy": {
                                "type": "object",
                                "properties": {
                                    "__deferred": {
                                        "type": "object",
                                        "properties": {
                                            "uri": {
                                                "type": "string"
                                            }
                                        }
                                    }
                                }
                            },
                            "Properties": {
                                "type": "object",
                                "properties": {
                                    "__deferred": {
                                        "type": "object",
                                        "properties": {
                                            "uri": {
                                                "type": "string"
                                            }
                                        }
                                    }
                                }
                            },
                            "VersionEvents": {
                                "type": "object",
                                "properties": {
                                    "__deferred": {
                                        "type": "object",
                                        "properties": {
                                            "uri": {
                                                "type": "string"
                                            }
                                        }
                                    }
                                }
                            },
                            "Versions": {
                                "type": "object",
                                "properties": {
                                    "__deferred": {
                                        "type": "object",
                                        "properties": {
                                            "uri": {
                                                "type": "string"
                                            }
                                        }
                                    }
                                }
                            },
                            "CheckInComment": {
                                "type": "string"
                            },
                            "CheckOutType": {
                                "type": "integer"
                            },
                            "ContentTag": {
                                "type": "string"
                            },
                            "CustomizedPageStatus": {
                                "type": "integer"
                            },
                            "ETag": {
                                "type": "string"
                            },
                            "Exists": {
                                "type": "boolean"
                            },
                            "IrmEnabled": {
                                "type": "boolean"
                            },
                            "Length": {
                                "type": "string"
                            },
                            "Level": {
                                "type": "integer"
                            },
                            "LinkingUri": {
                                "type": "string"
                            },
                            "LinkingUrl": {
                                "type": "string"
                            },
                            "MajorVersion": {
                                "type": "integer"
                            },
                            "MinorVersion": {
                                "type": "integer"
                            },
                            "Name": {
                                "type": "string"
                            },
                            "ServerRelativeUrl": {
                                "type": "string"
                            },
                            "TimeCreated": {
                                "type": "string"
                            },
                            "TimeLastModified": {
                                "type": "string"
                            },
                            "Title": {
                                "type": "string"
                            },
                            "UIVersion": {
                                "type": "integer"
                            },
                            "UIVersionLabel": {
                                "type": "string"
                            },
                            "UniqueId": {
                                "type": "string"
                            }
                        },
                        "required": [
                            "__metadata",
                            "Author",
                            "CheckedOutByUser",
                            "EffectiveInformationRightsManagementSettings",
                            "InformationRightsManagementSettings",
                            "ListItemAllFields",
                            "LockedByUser",
                            "ModifiedBy",
                            "Properties",
                            "VersionEvents",
                            "Versions",
                            "CheckInComment",
                            "CheckOutType",
                            "ContentTag",
                            "CustomizedPageStatus",
                            "ETag",
                            "Exists",
                            "IrmEnabled",
                            "Length",
                            "Level",
                            "LinkingUri",
                            "LinkingUrl",
                            "MajorVersion",
                            "MinorVersion",
                            "Name",
                            "ServerRelativeUrl",
                            "TimeCreated",
                            "TimeLastModified",
                            "Title",
                            "UIVersion",
                            "UIVersionLabel",
                            "UniqueId"
                        ]
                    }
                }
            }
        }
    }
}

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Power Apps June 2021

June Power Apps Community Call

Don't miss the call this month on June 16th - 8a PDT

Top Solution Authors
Top Kudoed Authors
Users online (18,714)