Skip to content

Access Package Assignment Failing - "Connected Organization Not Found" #2958

@AKMWali

Description

@AKMWali

Describe the bug

We successfully connected to the organization to retrieve users and assign the associated access package. However, we're still encountering an error stating that no connected organization was found.
2
1

Expected behavior

It should successfully add the user as an external user from the connected organization and assign them to the associated access package.

How to reproduce

New-MgBetaEntitlementManagementAccessPackageAssignmentRequest -AccessPackageId $engineerAccessPackage.Id -AssignmentPolicyId $engineerPolicy.Id -TargetEmail $email

SDK Version

2.23.0

Latest version known to work for scenario above?

2.23.0

Known Workarounds

No response

Debug output

Click to expand log ```
</details>
<img width="504" alt="2" src="https://github.com/user-attachments/assets/d25f4c21-e88f-4228-ba2d-c5dffbb658ae">
<img width="894" alt="1" src="https://github.com/user-attachments/assets/8bd611a4-aea3-4275-9e7d-86ef4cb7db6b">


### Configuration

_No response_

### Other information

_No response_

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions