feat: add intune-manager tier to get-token.sh
This commit is contained in:
@@ -64,9 +64,14 @@ case "$TIER" in
|
|||||||
VAULT_PATH="msp-tools/computerguru-defender-addon.sops.yaml"
|
VAULT_PATH="msp-tools/computerguru-defender-addon.sops.yaml"
|
||||||
SCOPE_URL="https://api.securitycenter.microsoft.com/.default"
|
SCOPE_URL="https://api.securitycenter.microsoft.com/.default"
|
||||||
;;
|
;;
|
||||||
|
intune-manager)
|
||||||
|
CLIENT_ID="46986910-aa47-4e5e-b596-f65c6b485abb"
|
||||||
|
VAULT_PATH="msp-tools/computerguru-intune-manager.sops.yaml"
|
||||||
|
SCOPE_URL="https://graph.microsoft.com/.default"
|
||||||
|
;;
|
||||||
*)
|
*)
|
||||||
echo "ERROR: unknown tier '$TIER'." >&2
|
echo "ERROR: unknown tier '$TIER'." >&2
|
||||||
echo "Valid tiers: investigator | investigator-exo | exchange-op | user-manager | tenant-admin | tenant-admin-onboard | defender" >&2
|
echo "Valid tiers: investigator | investigator-exo | exchange-op | user-manager | tenant-admin | tenant-admin-onboard | defender | intune-manager" >&2
|
||||||
exit 2
|
exit 2
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|||||||
Reference in New Issue
Block a user