Ok, resolved!
I had created a subscription config on cmd but had not on powershell.
So, i did subscribe on powershell with the relevant commands written in the article you referred to and now it works great!
Thanks @GiftA-MSFT !
PS: Please note that both the following commands produce an error when run on powershell:
spx config @key --set SUBSCRIPTION-KEY
spx config @region --set REGION
,so in order to resolve use the following:
spx config --set key=SUBSCRIPTION-KEY
spx config --set regio=REGION