Sometimes it can happen that some errors can occurs while cmpiling the Azure devops pipeline for a D365 file package creation.
In this case the error say that the extended data table Category does not exists. But how can it be possibile?? CategoryId EDT is a standard EDT, but fortunately I found the solution.
The categoryId is owned by another model which is called “Measurement”. This model is not referenced in my custom model (which is the model that pipeline is compiling in this moment).
So you have to return in Visual Studio and reference “Measurement” model to your custom method.
After that you have to checkin the modify. this means you have to chckin you custom model.