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

Application Lifecycle Management : AI Builder Model and Training Data Set missing in Azure Repository Source Control

Hi All, 

 

I am working on setting up an Application Lifecycle Management where I have created a solution within which I have a Power Automate and an AI Builder Custom form processing Model which is consumed within the flow. 

 

I have managed to successfully move the Power Automate and AI Builder model from Dev to Prod environment using Azure DevOps Pipelines and in between, I am using the Azure Repos to Source Control the solution contents. 

 

However, neither the AI Builder Model or its Training Data set is visible in the Source Control. I can only see the Power Automate data. Once Build/Release pipelines runs, the AI builder is still successfully migrated to Prod and it works as expected within the Power Automate in the target.

 

Is there something I am missing to do , due to which the AI Builder Model and Its training data set is not present in the Azure Repos Source Control ? 

 

Dev Unmanaged Solution : 

 

Rajesh365_0-1654070195936.png

 

Azure Repo Source Control : 

 

Rajesh365_1-1654070382203.png

 

Thanks in Advance !

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
JoeF-MSFT
Power Apps
Power Apps

Hi @Rajesh365 - your questions are great feedback! 😊

 

 

You're welcome and additional questions are more than welcome. On the AI Builder team, we're hosting an AMA event next week with various experts from the team: Announcing the June 7th AI Builder AMA - Power Platform Community (microsoft.com) We're happy to take more ALM questions and discuss live there 🙂

View solution in original post

6 REPLIES 6
JoeF-MSFT
Power Apps
Power Apps

Hi @Rajesh365 - nice ALM setup, thanks for sharing!

 

What you're seeing is correct. When you export an AI Builder model, you're actually exporting the metadata around the model, but not the model binary itself, neither the training data. When you import the solution into another environment, we use that metadata from the model to make a copy of the underlying model hosted in Azure so to make it available in the imported environment. The training data is not copied, which means that you can use the model in the environment where it has been imported but not edit the model, as the training data won't be there. 

 

The recommendation is to update the model on the original environment, and then promote the model to other environments. With your setup, you can automate it very nicely. 

 

Hope this helps clarify. 

Rajesh365
Frequent Visitor

Thanks a lot @JoeF-MSFT  for the quick response and helping us understand what happens behind the scenes. 

 

Just a follow up question :

The Share Option, as per my limited understanding, lets other users to use a model I have created in their Apps and flows but does not let them edit the model and train them better. In case we want to provide multiple users the ability to edit and train a model in the Dev environment, what are the current possibilities ?

 

Thanks in Advance !

JoeF-MSFT
Power Apps
Power Apps

You're welcome @Rajesh365 !Your understanding is correct around sharing. The good news is that we're working on enabling sharing form processing models with multiple owners that can edit. We plan to release this by October.  

Rajesh365
Frequent Visitor

That's Awesome news @JoeF-MSFT . Sorry to trouble with a few more follow up questions. 

  • From the official docs, I did see that we can assign System Customizer role in case we want to share the model with others who need to edit and train the model. But in a business scenario where we may have 10+ business users whom we are trying to empower with System Customizer role so that they can edit some of the commonly used AI models, does that sound like a best practice as they may end up getting un intended access to else where in the environment ? 
  • In case we want to move the training data and AI Model from an old Dev environment to a newly provisioned Dev environment to continue the development in the new target, do we have any easy mechanism to do it as Azure Pipelines do not support this functionality as of now ? Or is there a way to move some of the AI Model specific tables to the new environment to migrate the models along with training content (just a wild thought)?

Again, Thanks a lot for your help and insights 🙂

JoeF-MSFT
Power Apps
Power Apps

Hi @Rajesh365 - your questions are great feedback! 😊

 

 

You're welcome and additional questions are more than welcome. On the AI Builder team, we're hosting an AMA event next week with various experts from the team: Announcing the June 7th AI Builder AMA - Power Platform Community (microsoft.com) We're happy to take more ALM questions and discuss live there 🙂

You are right @JoeF-MSFT  . I saw the same link that you had shared where we can use System Customizer to transfer ownership, guess I mistook that as an opportunity for multiple people to edit the model. 

 

So happy to have interacted with you and looking forward to the AMA. Thank You !

Helpful resources

Announcements
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Difinity Conference 2022

Difinity Conference 2022

Register today for two amazing days of learning, featuring intensive learning sessions across multiple tracks, led by engaging and dynamic experts.

European SharePoint Conference

European SharePoint Conference

The European SharePoint Conference returns live and in-person November 28-December 1 with 4 Microsoft Keynotes, 9 Tutorials, and 120 Sessions.

Power Apps Ideas

Changes to Ideas Coming

We are excited to announce a new way to share your ideas for Power Apps!

Users online (2,197)