Highlighted
Frequent Contributor.
Frequent Contributor.
529 views

SMA-X how to delete GROUP

Jump to solution

Anyone knows how to remove a Tenant GROUP?

Axel.

0 Likes
1 Solution

Accepted Solutions
Highlighted
Knowledge Partner
Knowledge Partner

Re: SMA-X how to delete GROUP

Jump to solution

You shouldn't use the Upn, you need to use the "Id" of the Group to delete

View solution in original post

4 Replies
Highlighted
Knowledge Partner
Knowledge Partner

Re: SMA-X how to delete GROUP

Jump to solution

Hi There

If you mean how to delete/remove a Functional/Organization Group in SMAX Tenant, you can use the REST API

https://<SMAX URL>/rest/${tenantId}/ems/bulk

You can delete it by using the Group's ID

Body will be something like

{"entities": [ {
"entity_type": "PersonGroup",
"properties": {
"Id": "<ID>"
}
}
], "operation": "DELETE"}

As always, please test in DEV/QA Environment before Production

Highlighted
Frequent Contributor.
Frequent Contributor.

Re: SMA-X how to delete GROUP

Jump to solution

Hi,

Thanks. Exactly what I need. However the command:

{"entities": [ {
"entity_type": "PersonGroup",
"properties": {
"Upn": "<group_upn>"
}
}
], "operation": "DELETE"}

Results:

"httpStatus": 500,
"message": "The server encountered an unexpected condition which prevented it from fulfilling the request",

0 Likes
Highlighted
Knowledge Partner
Knowledge Partner

Re: SMA-X how to delete GROUP

Jump to solution

You shouldn't use the Upn, you need to use the "Id" of the Group to delete

View solution in original post

Highlighted
Frequent Contributor.
Frequent Contributor.

Re: SMA-X how to delete GROUP

Jump to solution

Perfect! Working solution.

 

thanks,

Axel.

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.