Refer to the ArcGIS Pro documentation, 'Work with offline maps and branch versioned data', https://enterprise.arcgis.com/en/server/latest/publish-services/windows/offline-maps-and-branch-versioned-data.htm for the correct workflow and requirements for this workflow.