Closed Spen789 closed 1 year ago
Thank you for your comment. We'll investigate and get back to you.
Hi @Spen789, Our team has confirmed that we support both token and bearer options. When you use "Token", you'll need to provide the API token you produced in the portal, in the API Token tab. When you use "Bearer" you need to provide the token you produced through AAD graph.
Please confirm whether this helps with your issue, and we can clarify this in an upcoming fix. Thanks for contributing to docs!
We haven't heard back from you, so we will now close this issue. If this remains an issue, please reply and we will gladly continue the discussion.
Curl command incorrect curl -XGET -H "Authorization:Token" "https://..contoso.com/api/discovery_block_scripts/?format=102&type=banned"
should be
curl -XGET -H "Authorization:Bearer" "https://..contoso.com/api/discovery_block_scripts/?format=102&type=banned"
also if running command from PowerShell use curl.exe not just curl
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.