Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric Certified for FREE during AI Skills Fest. This week only. Secure your voucher now.

Reply
thiamhuat2026
Helper III
Helper III

LogisticRegression pipeline does not go through

thiamhuat2026_0-1778320343235.png

[tracking_store.py:77] Experiment names must be less than 257 characters, begin with a letter or number, and may only include dashes (-) or underscores (_). 2026-05-09:09:48:38,114 ERROR [synapse_mlflow_utils.py:390] [fabric mlflow plugin]: <class 'synapse.ml.mlflow.tracking_store.TridentMLflowTrackingStore'>.check_experiment_name_valid exception Experiment names must be less than 257 characters, begin with a letter or number, and may only include dashes (-) or underscores (_). 2026-05-09:09:48:38,134 ERROR [synapse_mlflow_utils.py:390] [fabric mlflow plugin]: <class 'synapse.ml.mlflow.tracking_store.TridentMLflowTrackingStore'>.get_experiment_by_name exception Experiment names must be less than 257 characters, begin with a letter or number, and may only include dashes (-) or underscores (_). 2026-05-09:09:48:38,136 ERROR [default_experiment_registry.py:55] Error find or created notebook/SJD default experiment, please call mlflow.set_experiment to set a valid one before run Traceback (most recent call last): File "/home/trusted-service-user/cluster-env/trident_env/lib/python3.11/site-packages/synapse/ml/mlflow/default_experiment_registry.py", line 52, in get_experiment_id return mlflow.set_experiment(f"{artifact_name}").experiment_id ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

1 ACCEPTED SOLUTION
v-anbandari
Community Support
Community Support

Hi @thiamhuat2026,
Thank you for reaching out to the Microsoft community  Forum.

The issue is not caused by the LogisticRegression pipeline itself. Based on the error message , the failure occurs because the notebook environment automatically tries to create an MLflow experiment during "pipeline.fit(train_df)", but the generated experiment name does not satisfy MLflow experiment naming rules. Because of this, the pipeline execution fails before the model training starts.

To resolve the issue, manually set a valid MLflow experiment name before training the pipeline:

import mlflow
mlflow.set_experiment("logistic_regression_experiment")

Then run your existing pipeline code again.

For More Details :
Machine learning experiment - Microsoft Fabric | Microsoft Learn.


I hope this helps. Please feel free to reach out for further queries.
Thank you.

View solution in original post

1 REPLY 1
v-anbandari
Community Support
Community Support

Hi @thiamhuat2026,
Thank you for reaching out to the Microsoft community  Forum.

The issue is not caused by the LogisticRegression pipeline itself. Based on the error message , the failure occurs because the notebook environment automatically tries to create an MLflow experiment during "pipeline.fit(train_df)", but the generated experiment name does not satisfy MLflow experiment naming rules. Because of this, the pipeline execution fails before the model training starts.

To resolve the issue, manually set a valid MLflow experiment name before training the pipeline:

import mlflow
mlflow.set_experiment("logistic_regression_experiment")

Then run your existing pipeline code again.

For More Details :
Machine learning experiment - Microsoft Fabric | Microsoft Learn.


I hope this helps. Please feel free to reach out for further queries.
Thank you.

Helpful resources

Announcements
June Fabric Update Carousel

Fabric Monthly Update - June 2026

Check out the June 2026 Fabric update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Top Solution Authors