Hi there Hargurjeet Singh
Thanks for using QandA platform
the error iindicates that the to_spark_dataframe() method is trying to use a Spark session, but it's not available in your environment (since you're using a standard compute instance instead of Spark-based compute).
I guess cannot directly bypass Spark to use Pandas DataFrames with the Azure Feature Store API in the current setup. To use Pandas, you would need to convert the Spark DataFrame to a Pandas DataFrame, but this may only work for smaller datasets. For larger data, Spark compute is a must.
If this helps kindly accept the answer thanks much.