I have been using Oflline map in my Application. After the migration to new web portal am able to create new webmap and offline region but sharing options are only (Owner , Organization).
In the application am trying to load my offline area but it always return empty list. I am setting a API int the global context.
ArcGISPortal portal = await ArcGISPortal.CreateAsync();
PortalItem webMapItem = await PortalItem.CreateAsync(portal, PortalItemId);
_originalMap = new Esri.ArcGISRuntime.Mapping.Map(webMapItem);
for the web map item.
_offlineMapTask = await OfflineMapTask.CreateAsync(webMapItem);
IReadOnlyList<PreplannedMapArea> preplannedAreas = await _offlineMapTask.GetPreplannedMapAreasAsync(); // returns empty list
currently my plan is lite with pay as you go. do i need to update my plan to have access or i am missing some permissions.