diff --git a/IM/connectors/Azure.py b/IM/connectors/Azure.py index 3d4307a9a..19c029949 100644 --- a/IM/connectors/Azure.py +++ b/IM/connectors/Azure.py @@ -685,7 +685,9 @@ def create_nets(self, radl, credentials, subscription_id, group_name, inf): if net.getValue("provider_id"): parts = net.getValue("provider_id").split(".") if len(parts) != 2: - raise Exception("Invalid provider_id format: net_name.subnet_name") + parts = net.getValue("provider_id").split("/") + if len(parts) != 2: + raise Exception("Invalid provider_id format: net_name.subnet_name") vnet_name = parts[0] subnet_name = parts[1]