Pre-requisites 1) WS1 UEM integrated with Android Enterprise 2) Console admin access or above 3) SQL Auth credentials with remote access privileges
Instructions Step: Initialize script 1) Modify the $customerOG value 2) Modify the $targetParentOG value 3) Modify the $sqlDatabase value 4) Modify the $sqlServer value 5) Uncomment the $result line in the for loop before executing
Step: Refresh Google Auth Token 1) Log in to WS1 UEM console 2) Navigate to Apps & Books > Applications > Native > Public 3) Click "Add Application" 4) Select "Android" platform 5) Select "Import from Play" 6) Click "Next" 7) Wait for application list to load 8) DO NOT CLICK CONTINUE 9) Click Cancel or X icon
Step: Execute script 1) Call script with app parameter: .\CallDeprovisionAPI.ps1 -app com.app.bundle.id 2) Enter SQL auth credentials when prompted