KelvinTegelaar / CIPP

CIPP is a M365 multitenant management solution
https://cyberdrain.com / https://cipp.app
GNU Affero General Public License v3.0
810 stars 5k forks source link

Failed adding Autopilot Profile [AutoPilot Profile Name] #2803

Closed OfficialEsco closed 3 months ago

OfficialEsco commented 3 months ago

Description

Currently seeing this error on pretty much all tenants where the Autopilot Profile Standard is enabled Failed adding Autopilot Profile [AutoPilot Profile Name]. Error: { "_version": 3, "Message": "Another Profile 743f7ed9-e9d8-4646-a21b-7a84f59da221 is already assigned to All Devices. - Operation ID (for customer support): 00000000-0000-0000-0000-000000000000 - Activity ID: f1374a61-32e8-4d9f-8883-b4b25917c5b1 - Url: https://fef.msub06.manage.microsoft.com/DeviceEnrollmentFE/StatelessDeviceEnrollmentFEService/deviceManagement/windowsAutopilotDeploymentProfiles('743f7ed9-e9d8-4646-a21b-7a84f59da221')/assignments?api-version=5023-06-28", "CustomApiErrorPhrase": "", "RetryAfter": null, "ErrorSourceService": "", "HttpHeaders": "{}" }

Currently it fails to see that the profile exists and tries to create a new one instead of patching the old one image

Environment data

Sponsored
Frontend: 6.2.1 (+ hotfix)
Backend: 6.2.1 (+ hotfix)
false
github-actions[bot] commented 3 months ago

Thank you for creating a bug. Please make sure your bug is indeed a unique case by checking current and past issues, and reading the complete documentation at https://docs.cipp.app/ If your bug is a known documentation issue, it will be closed without notice by a contributor. To confirm that this is not a bug found in the documentation, please copy and paste the following comment: "I confirm that I have checked the documentation thoroughly and believe this to be an actual bug."

Without confirming, your report will be closed in 24 hours. If you'd like this bug to be assigned to you, please comment "I would like to work on this please!".

KelvinTegelaar commented 3 months ago

Fixed in hotfix