def getServicePortalProps2(server_url, user_name,  user_pass, servicename_and_type, token=None):

    serviceInfo = getServiceInfo2(server_url, user_name,  user_pass, servicename_and_type, token)
    servicePortalProps = serviceInfo.get("portalProperties")
    
    return servicePortalProps
Remove a provider's extensions from the registry.
dataset/ETHPy150Open Esri/ops-server-config/SupportFiles/AGSRestFunctions.py/getServicePortalProps2--crossover with--dataset/ETHPy150Open enthought/envisage/envisage/provider_extension_registry.py/ProviderExtensionRegistry._remove_provider_extensions