Sample Exchange

 View Only

Programatically delete Google Play entitlements  

Jan 22, 2020 09:11 PM

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


#google
#MAM
#PowerShell
#MIT
#VMwareWorkspaceONEUEM
#android
#workspaceONE

Statistics
0 Favorited
0 Views
1 Files
0 Shares
0 Downloads
Attachment(s)
ps1 file
CallDeprovisionAPIv2.1.ps1   8 KB   1 version
Uploaded - Apr 09, 2024

Tags and Keywords

Related Entries and Links

No Related Resource entered.