bc3tech
bc3tech

Reputation: 1342

How can I support offline_access scope for an MS Identity app against public MSA?

The MS Identity website for MSA apps (http://apps.dev.microsoft.com)'s interface doesn't support adding the offline_access scope. How can I do this for my app?

Error: AADSTS70011: The provided value for the input parameter 'scope' is not valid. The scope User.Read,offline_access is not valid.

Upvotes: 1

Views: 242

Answers (1)

Daniel Dobalian
Daniel Dobalian

Reputation: 3237

Based on the error you encountered:

The provided value for the input parameter 'scope' is not valid. The scope User.Read,offline_access is not valid.

Your error is based on the request you constructed rather than the app config in the portal. The problem here is the scopes should be separated by a single white space (%20 in web encoding). In the error, it seems you have separated scopes with a comma.

Upvotes: 1

Related Questions