It can be used for many things, but I used it to provide a admin user rights to all the users so we can migrate users using migrationwiz, which allowed us to migrate the user's data over to Office365.
You need to use third party tools like MigrationWiz when it comes to migrating users from a cloud hosted services to another cloud hosted services (i.e Rackspace to O365).
Thanks to Rackspace Email & Apps REST API Team and Josh Shilling for creating the API
I used their API and modified it so you can set permission to all users at once instead of selecting a user at time which can be seriously time consumming.
To use the API to access your email users within your domain that is hosted in Rackspace use the following steps
- Clone this repo
- Use your text editor I recommend Submlime Text 3 to open up the files
- Go to the APIClient.php and enter in the USER_KEY and SECRET_KEY. For more info about this read Rackspace API Wiki
- Open your bowser and use a local server, normally ran on port 3000 (i.e localhost:3000) and naviagate to one of the php files below, depending one what task you are trying to accomplish.
Use the getUsersInsideDomain.php
file
Use the getUserInfo.php
file
Use the addPermissionToAllUsers.php
file
Use the setPermissionOnSingle.php
file
Please feel free to add to this code, it can help many sys admins migrate users from Rackspace to Office 365.