I spend more than 6h to find a cause, but no luck yet.
I've installad VBO (latest version) on a new server and added my first tenant.
Configured first backup and everything works fine.
Ok, so now enable the API auth en allow tenants to access their data using API.
When I now try to auth on this server, I get:
{
"error": "Authorization Error",
"error_description": "Invalid credential"
}
Although on my 'old' server with exact the same config, tenant and settings, I'm able to get a token.
Anyone an idea or direction for me to start troubleshooting this nasty thing ?
Thanks !
-
- Veeam Vanguard
- Posts: 72
- Liked: 13 times
- Joined: May 18, 2012 1:19 pm
- Full Name: Kristof Poppe
- Contact:
-
- Product Manager
- Posts: 5797
- Liked: 1215 times
- Joined: Jul 15, 2013 11:09 am
- Full Name: Niels Engelen
- Contact:
Re: API auth troubles while GUI working flawless
The REST logs can be found under "C:\ProgramData\Veeam\Backup365\Logs" which can assist you. Did you install everything correctly (VBO & explorers)? Are you leveraging the username and password correctly (user@domain.onmicrosoft.com + pass)? With the latest version do you mean patch 2 for VBO v2 (https://www.veeam.com/kb2809)?
Personal blog: https://foonet.be
GitHub: https://github.com/nielsengelen
GitHub: https://github.com/nielsengelen
-
- Veeam Vanguard
- Posts: 72
- Liked: 13 times
- Joined: May 18, 2012 1:19 pm
- Full Name: Kristof Poppe
- Contact:
Re: API auth troubles while GUI working flawless
Hi Niels, over-installing the patch 2 and bringing the environment from 2.0.0.567 to 2.0.0.814 did the trick !
Although one remark, after installing this patch and the necessary reboot, the API service becomes 'disabled' by default. (suggestion to add this to the release notes ?)
Putting this back to 'automatic' brings it back to life !
Although one remark, after installing this patch and the necessary reboot, the API service becomes 'disabled' by default. (suggestion to add this to the release notes ?)
Putting this back to 'automatic' brings it back to life !
-
- Veeam Software
- Posts: 3194
- Liked: 774 times
- Joined: Oct 21, 2011 11:22 am
- Full Name: Polina Vasileva
- Contact:
Re: API auth troubles while GUI working flawless
Hi Kristof,
We'll update the KB with a note that disabling API service should be expected after applying this patch. Thanks!
We'll update the KB with a note that disabling API service should be expected after applying this patch. Thanks!
Who is online
Users browsing this forum: No registered users and 21 guests