If you end up needing a new alternator, then fyi, B6 platform A4 alternators from the dealer come in two brands: Bosch and some other brand (I forget at the moment).
The parts counter guy at my local Audi once told me that for my 2004 A4, I should check my old alternator in my car, and buy a replacement for whichever one of the two brands is currently under the hood of my car. He had concern about fitment between the two brands, but he admitted that he wasn’t 100% sure if there was and difference