Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
AKMWali opened this issue Sep 16, 2024 · 2 comments
Closed
Labels

Comments

@AKMWali
Copy link

AKMWali commented Sep 16, 2024

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_
@AKMWali AKMWali added status:waiting-for-triage An issue that is yet to be reviewed or assigned type:bug A broken experience labels Sep 16, 2024
@AKMWali AKMWali changed the title New-MgBetaEntitlementManagementAccessPackageAssignmentRequest module issue Access Package Assignment Failing - "Connected Organization Not Found" Sep 16, 2024
@timayabi2020
Copy link
Contributor

Hi @AKMWali please add a -Debug parameter and share the results.

@timayabi2020 timayabi2020 added status:waiting-for-author-feedback Issue that we've responded but needs author feedback to close and removed status:waiting-for-triage An issue that is yet to be reviewed or assigned labels Oct 3, 2024
@AKMWali
Copy link
Author

AKMWali commented Oct 3, 2024

The issue has been resolved. The failure was due to a duplicate entity. Thank you!

@microsoft-github-policy-service microsoft-github-policy-service bot added Needs: Attention 👋 and removed status:waiting-for-author-feedback Issue that we've responded but needs author feedback to close labels Oct 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants