Look, it's obvious you'd rather avoid this if you can. The questions are whether you can avoid it, and whether you should knock a course down because of it. So:
Q: How much do you all knock down Pebble Beach as a great course?
Nos. 1, 2, 4, 5 into the morning sun, No. 18 dead into the setting sun in the summer.
[I played it at twilight several times when I was a kid. You couldn't see where your tee shot went at all.]
That comes about when the holes have to run mostly east and west, and the clubhouse has to be on the west end. [It wouldn't have been a problem for Pebble if the clubhouse were in Carmel, but I doubt that was Jack Neville's choice.] If you're not trashing Pebble for it, then you should be introspective when you see it elsewhere.
Or, you can have a property like Barnbougle, where the dunes also run east and west, but the clubhouse site has to be in the middle, because of access. There we had the dilemma of which was worse: opening holes into the morning sun, or last two holes into the evening sun. We opted for the latter, because I thought playing into the prevailing wind for 8 holes in the middle of the round would be worse than the sun factor, because it affected every player on the day, not just the guys for the last couple of hours.
These choices are called trade-offs. There are few projects out there where you don't have to make any. It's possible some architects are just careless about that sort of thing, but I'd bet that most are quite aware of it, and just had to decide that other factors were even more compelling. Which they very rightly could be.
If you want to let something like that drive your opinion of a course, okay - as long as you're consistent, which almost no one is. [Lots of people will never notice such things, if they don't play the course at dawn or twilight.] But just like everything else about routing, it doesn't make sense to criticize the solution until you examine the other possibilities, and most people from the sidelines just aren't good at that.
P.S. I asked Mr. Dye how come the 18th at the TPC at Sawgrass played straight into the setting sun, when the whole course was a swamp and he could have gone any direction. He asked me if I'd observed the same thing about Pebble Beach, which I had. And he said, "Bad for golfers, great for TV cameras behind the green."