arcpy.UploadServiceDefinition_server() to publish SD files to a server that is federated with portal. Using this ESRI Documentaion I am able to publish the service to a specific folder on my server with the arguments
in_folder_type="XXX", in_folder="xxx" Since my server is federated with portal those services are automatically shared with
Portal which is what I want. However I would like like the services to appear in a specific folder as I did with server. I do not see a control to do this. Is this possible?
I attached an image of an example structure a service that is published to the server needs to be told to reside in a certain folder in portal. Not the root directory of portal.