United midfielder Pogba appeared to be given the flag by a fan as the players made their way around the pitch during the traditional lap of honour after the 1-1 draw in the club's last home game of the Premier League season.
French World Cup winner Pogba and Ivorian winger Diallo, who are both Muslim, displayed the flag in support of Palestine, with around 10,000 fans at Old Trafford watching on after coronavirus restrictions were lifted.
"We have players from different backgrounds, different cultures, different countries and we need to respect their views if they differ from someone else's," said Solskjaer.
"If my players think about other things than football, that's a positive thing.
"So, no, we respect their right to have a different view."