web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Bring your own model a...
Power Apps
Unanswered

Bring your own model aibuilder - No Capacity was found / Model Predict syntax

(0) ShareShare
ReportReport
Posted on by 12

I am trialing on the BYOM aibuilder (PowerApps-Samples/ai-builder/BringYourOwnModelTutorial at master · microsoft/PowerApps-Samples and come across two problems:

 

i) Set(Prediction, 'pneumonia-detection-v1'.Predict({image:Image1.Image}).Prediction) - this prediction failed to generate a result with error: ..........no capacity was found

 

I am on a 30 days aibuilder trial version which supposed to cover Premium features (and this BYOM is Preview, so should be an included feature without special credits/capacity)

 

Could it be due to my organization tenant without database capacity/full? (it does not seem so as I can still do other things except this BYOM prediction)

 

No Capacity was FoundNo Capacity was Found

 

 

ii) The original predicdt Fx statement is: Set(Prediction, 'pneumonia-detection-v1'.Predict({image:Image1.Image}).responsev2.predictionOutput.Prediction), however it comes with errors (Incompatible type...) so I check around and change to Set(Prediction, 'pneumonia-detection-v1'.Predict({image:Image1.Image}).Prediction), which eliminate the incompatible syntax error.

 

So is my revised syntax really correct? (it looks so as it proceed to no capacity error)

 

Thanks for any advice

 

NoCapacitywasfound2.png 

 

I searched MSDN and could not find any proper documentation  related to the above Fx command

 

 

 

 

 

 

Categories:
I have the same question (0)
  • ritchiepoon Profile Picture
    12 on at

    I finally got this running:

     

    i) Explicitly create another environment (select as trial at creation with a new database..) NOT using any of my other prior environment - so the steps is a) apply for a Trial Licensce (for your email account), b) create a Trial Environment.

     

    ii) register the BYOM model on this specific trial environment

     

     

  • billba Profile Picture
    Microsoft Employee on at

    I’m glad to hear you got it running! Please note that a 30 day trial gives you a certain amount of credits, but they can be used up. BYOM does not use credits but other AI usage does. The “30 day” has to do with how long before you can renew your trial.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
wolenberg_ Profile Picture

wolenberg_ 119 Super User 2026 Season 1

#2
WarrenBelz Profile Picture

WarrenBelz 107 Most Valuable Professional

#3
Haque Profile Picture

Haque 103

Last 30 days Overall leaderboard