diff --git a/services/operation_services.py b/services/operation_services.py
index c95e8fe048622b829e7554c3f9d2fd46b8e2a192..dda32359aad1daa350aa7a252e70e815d67c782e 100644
--- a/services/operation_services.py
+++ b/services/operation_services.py
@@ -396,6 +396,8 @@ class OperationsService(Component):
             }
         )
 
+        if role.get("isConsumer") and not role.get("isPmo") and not prm_id:
+            consumer_id = consumer_name[0]['id']
         if operation.is_data_enedis:
             if scale:
                 graph_datas = operation.graph_view_type(