Update devices after updating provisioning profile?

I have changed provisioning profile. Now i get the error:

Error: No distribution certificate for serial number foobar is available to make a provisioning profile against

I’m on Managed workflow, eas-cli version 0.55.1.

Do i have to run eas device:delete and attach the devices anew?

Edit: The “foobar” serial number matches the serial number on expo.dev/credentials/app store/distribution certificate

did you manually update the provisioning profile through the web ui or how did you change the provisioning profile?

The distribution certificate was updated through web UI.
We also had outdated versions of provisioning profiles in enterprise and ad-hoc provisioning.

To fix this my colleague first uploaded new provisioning profiles for ad-hoc via web ui. This lead to eas showing

provisioning profile (id: null) does not exist in apple dev portal.

Im unsure how this was fixed, but i believe that the provisioning profiles were removed and then created via eas build instead of manually uploaded. Now everything works fine.