-
- Service Provider
- Posts: 49
- Liked: 3 times
- Joined: Mar 04, 2021 2:17 pm
- Full Name: Kim Svane
- Location: Denmark
- Contact:
REST API - Change password for basic auth
Hi All
Have anyone created a script to change the basic auth user password ?
Or can tell me the exact body to post towards the server?
i tried the following:
{
"type": "Office365",
"region": "Worldwide",
"isExchangeOnline": true,
"isSharePointOnline": true,
"sharePointOnlineSettings": {
"account": "svcacc",
"password": "password",
"grantAdminAccess": true,
"useMfa": false,
"useCustomVeeamAADApplication": true
}
"exchangeOnlineSettings": {
"account": "svcacc",
"password": "password",
"grantImpersonation": true,
"useMfa": false,
"useCustomVeeamAADApplication": true
}
}
The examples does not include password when point to Cloud/online and not hybrid or onprem.
it might be an easy fix, but i cant quite get my head around this.
i get the error: "message": "Missing mandatory parameters: IsExchangeOnline."
Have anyone created a script to change the basic auth user password ?
Or can tell me the exact body to post towards the server?
i tried the following:
{
"type": "Office365",
"region": "Worldwide",
"isExchangeOnline": true,
"isSharePointOnline": true,
"sharePointOnlineSettings": {
"account": "svcacc",
"password": "password",
"grantAdminAccess": true,
"useMfa": false,
"useCustomVeeamAADApplication": true
}
"exchangeOnlineSettings": {
"account": "svcacc",
"password": "password",
"grantImpersonation": true,
"useMfa": false,
"useCustomVeeamAADApplication": true
}
}
The examples does not include password when point to Cloud/online and not hybrid or onprem.
it might be an easy fix, but i cant quite get my head around this.
i get the error: "message": "Missing mandatory parameters: IsExchangeOnline."
Kim Svane @ any.cloud
-
- Product Manager
- Posts: 5797
- Liked: 1215 times
- Joined: Jul 15, 2013 11:09 am
- Full Name: Niels Engelen
- Contact:
Re: REST API - Change password for basic auth
Hi Kim, this may be a bug since I see you have the parameter included. Any chance u can open a support case for insight and let us know the case ID?
Personal blog: https://foonet.be
GitHub: https://github.com/nielsengelen
GitHub: https://github.com/nielsengelen
-
- Service Provider
- Posts: 49
- Liked: 3 times
- Joined: Mar 04, 2021 2:17 pm
- Full Name: Kim Svane
- Location: Denmark
- Contact:
-
- Service Provider
- Posts: 49
- Liked: 3 times
- Joined: Mar 04, 2021 2:17 pm
- Full Name: Kim Svane
- Location: Denmark
- Contact:
Re: REST API - Change password for basic auth
Hi Niels
So, now i can run the postman script, and get a code 200.
That's fine, i just wrote to the support, but thought you might also have an answer.
If i want to update the password, how would i do it, i tested with just changing it. But it seems that this is only to edit things, like enableing things like teams.
Or have i missed something.
So, now i can run the postman script, and get a code 200.
That's fine, i just wrote to the support, but thought you might also have an answer.
If i want to update the password, how would i do it, i tested with just changing it. But it seems that this is only to edit things, like enableing things like teams.
Or have i missed something.
Kim Svane @ any.cloud
-
- Service Provider
- Posts: 49
- Liked: 3 times
- Joined: Mar 04, 2021 2:17 pm
- Full Name: Kim Svane
- Location: Denmark
- Contact:
Re: REST API - Change password for basic auth
Hi again
I figured it out now, must have switched off my brain(Loong day).
Just enter the correct password, then it ofcourse works......
Thanks anyway!
I figured it out now, must have switched off my brain(Loong day).
Just enter the correct password, then it ofcourse works......
Thanks anyway!
Kim Svane @ any.cloud
-
- Product Manager
- Posts: 5797
- Liked: 1215 times
- Joined: Jul 15, 2013 11:09 am
- Full Name: Niels Engelen
- Contact:
Re: REST API - Change password for basic auth
Hi Kim, that is good to know. Thanks for updating us!
Personal blog: https://foonet.be
GitHub: https://github.com/nielsengelen
GitHub: https://github.com/nielsengelen
Who is online
Users browsing this forum: No registered users and 9 guests