Azure/azure-sdk-for-ruby

Can I / do I need to pass the scope?

idrozd opened this issue · 1 comments

Hello,
all the best to you!

expect { ApplicationTokenProvider.new(nil, 'client_id', 'client_secret') }.to raise_error(ArgumentError)

So I'm trying to embed powerbi;
When I get the authentication token, do I need to pass scope also?
Don't see it in the code.

But this python example
does pass the scope and I wonder if I'm failing (403) to query this api endpoint due to the scope missing for requested token?

Thank you for your interest in Azure SDKs. As detailed in this retirement announcement, this repo is no longer supported as of December 31st 2021. Please find the up-to-date list of languages and services supported with Azure SDKs here: https://aka.ms/azsdk