A cloud-based identity and access management service for securing user authentication and resource access
Migration happened last month before 20th OCT.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
We have identified old Security Group Object IDs in Power Apps sharing permissions. These security groups were migrated from on-premises to cloud, and their Object IDs appear to have changed after migration.
Currently, Power Apps only shows the old Group IDs below and does not resolve them to a group name:
We need assistance to determine:
This information is required to validate and restore application access after the security group migration.
A cloud-based identity and access management service for securing user authentication and resource access
Migration happened last month before 20th OCT.
AI answer
If either Object ID is still a soft-deleted group, restore that group first because restoration retains its original Object ID, memberships, and application assignments and may make the existing Power Apps permission resolve again.^1^
Microsoft 365 groups and cloud security groups remain soft-deleted for 30 days. During that period, important properties—including Object ID, memberships, and application assignments—are maintained. Hard-deleted objects cannot be restored.^1^
An administrator can also query a particular deleted Object ID through Microsoft Graph:
GET https://graph.microsoft.com/v1.0/directory/deletedItems/{object-id}
Authorization: Bearer {token}
Accept: application/json
A successful lookup returns 200 OK. For a deleted group, groupTypes: [] identifies a security group; do not rely on securityEnabled, because it has a known limitation for soft-deleted security groups.^2^
This recovery path applies only where the group entered a supported soft-deleted state. A synchronized group’s deletion might not be recoverable this way, depending on how it was removed and the tenant scenario.
There is no documented customer-accessible, guaranteed old-Object-ID-to-new-Object-ID mapping when a group was deleted and recreated. The replacement is a separate Entra object, so Power Apps continues to hold the original principal ID in its role assignment.
Correlate the objects using retained evidence:
onPremisesSecurityIdentifier. If both historical and current records contain the same SID, that provides a stronger correlation than display name alone.^4^For future group migrations, Group Source of Authority conversion can convert an eligible synchronized group into a cloud-managed object rather than recreating it. This lets Entra Connect stop synchronizing that same group object and reduces identity-breaking replacements.^5^
After identifying the correct current group:
Power Apps sharing resolves users and security groups from Microsoft Entra ID. App sharing does not automatically grant access to dependent SharePoint sites, flows, gateways, connections, or other data sources; update those permissions separately.^6^
If the UI cannot remove an unresolved principal, use the supported Power Apps administration cmdlets to obtain its role ID and delete that assignment:
Add-PowerAppsAccount
$roles = Get-AdminPowerAppRoleAssignment `
-EnvironmentName "<environment-id>" -AppName "<app-id>"
$roles | Format-List *
Remove-AdminPowerAppRoleAssignment `
-EnvironmentName "<environment-id>" `
-AppName "<app-id>" -RoleId "<stale-role-id>"
These cmdlets support reading and deleting canvas-app permissions; removal requires the environment ID, app ID, and assignment’s role ID.^7^^8^
Open a Microsoft support request through the Power Platform admin center or Microsoft 365 admin center and provide:
Support can investigate tenant-specific service information that remains available, but recovery or an authoritative mapping cannot be guaranteed after the original objects and relevant logs have expired.
References