Hi All Geniuses buddies
I am using google admin apis. user provisioning is what i successfully performed. When i try to move the same user to Organisational Unit(OU). It give me error like
{"The remote server returned an error: (403) Forbidden."} You are not authorised to access this api.
I am not able to figure out which api i need to trun on for that.
Here are the api i have truned on.
This it the code i am using to perform the same
//Method 1
OrganizationService serviceNew = new OrganizationService("Domain", "User Provisioning");
serviceNew.setUserCredentials("Admin Email Account", "Password");
serviceNew.UpdateOrganizationUser("Customer ID", "The Email Account i want to add", "/OU Name", "/");
I dont know why its not working.
!Any help, It will be appreciated.