Using the ArcGIS Pro 2.0(1) how can I check if a specific folder in my content exists, create it if not, and obtain its ID.
During publishing a Web Layer, I need as an optional parameter the FolderID - not the name!
new EsriHttpClient().Upload(portal.PortalUri.ToString(), layerItem, "my Layer Name", new[] {"myTag"}, "folderID");