Hi All,
I am using PCF control in my canvas app which is embedded in form. In my PCF code I am making API call to get data from CDS, I am getting 401 unauthorized error, when I debugged it then I noticed the context.userSettings property doest have data.

Could someone help me with it, how to fix it?
Does any one have faced the same issue? Not sure if its possible or not.
Thanks in advance
Hemant