Skip to main content

Notifications

Dynamics 365 general forum

Getting error while calling Binary classification AI Model through Microsoft Flow

Posted on by 40

I am trying Dynamics Binary classification AI Model. I am able to create Binary AI model for Lead entity. Performance of this model is 99%. Now as a next step I am trying to call this Model through Microsoft when record updated in CRM. 

I am following this article, https://docs.microsoft.com/en-us/ai-builder/binary-classification-model-in-flow

I tried both Dynamics CRM connector as well as Common Data service connector. But in both cases I am getting error. I am passing entity object to the Predict (Common Data Service ) connector. 

Input parameter to predict action,

1385.pastedimage1562072584411v1.png

{"entity": "{<entity attributes>}"}

Error,

{"operationStatus":"Invalid","error":{"type":"Error","code":"OperationNotSupported","message":"This operation is not supported for general prediction"}}

Categories:
  • Leila Etaati Profile Picture
    Leila Etaati on at
    RE: Getting error while calling Binary classification AI Model through Microsoft Flow

    Much appreciated, will check it know!

  • Suggested answer
    Arafat Profile Picture
    Arafat 155 on at
    RE: Getting error while calling Binary classification AI Model through Microsoft Flow

    Hi Leila

    Yes, I was able to resolve this.

    Actually the Predict function works only for the Object Detection / Vision Models. It won't work for the Binary Classification hence you get an error.

    Binary Classification model runs right as soon as the record is either created or updated.

    I wrote this blog post 2 days back, it may be helpful for you;

    www.arafattehsin.com/.../

    Secondly, you can also read their official docs (although they're not the best one)

    docs.microsoft.com/.../binary-classification-model-in-flow

    I hope this helps you and others here as well.

  • Leila Etaati Profile Picture
    Leila Etaati on at
    RE: Getting error while calling Binary classification AI Model through Microsoft Flow

    Have you find how to solve this?, could you please let us know as well if yes :), I have the same problem

  • Arafat Profile Picture
    Arafat 155 on at
    RE: Getting error while calling Binary classification AI Model through Microsoft Flow

    Were you able to resolve this issue? If yes then kindly let us know how?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,253 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans