Income Sources :: Jobs :: 2022 :: HP :: Lens :: Repos :: poly-glass :: team-mo :: tooling :: silica-local-cloud :: GraphQL
⪼ Made with 💜 by Polyglot.
...
GraphQL Error:
activeLicenseTypes
GraphQL Error: Microsoft tenant already claimed by another Lens tenant.
query {
accessor {
id
grants {
resourceId
resourceType
roles {
name
}
permissions {
name
}
}
}
}
Response
{
"data": {
"accessor": {
"id": "oauth2|Microsoft|d9ba3bfa-f92a-4e98-b307-82ae7b52f139",
"grants": [
{
"resourceId": "6ee62937-e300-4155-8bfc-1de026cdf1b9",
"resourceType": "Tenant",
"roles": [
{
"name": "admin"
}
],
"permissions": []
},
{
"resourceId": "*",
"resourceType": "*",
"roles": [],
"permissions": [
{
"name": "*"
},
{
"name": "teams-integration:update"
},
{
"name": "teams-integration:manage"
},
{
"name": "telemetry-config:manage"
}
]
},
{
"resourceId": "com.poly.lens.eng.tool",
"resourceType": "Feature",
"roles": [
{
"name": "let-engineering"
},
{
"name": "let-devops"
},
{
"name": "let-support"
}
],
"permissions": []
}
]
}
}
}
mutation($input: CreateTenantInput!) {
createTenant(input: $input) {
tenant {
id
name
}
}
}
{
"input": {
"name": "whateverbro"
}
}
...

