Fiend summoning is widely, but not universally, banned. Sometimes you can get an exemption if there’s a pressing need and a proven containment plan, but that rarely happens. Of course, sometimes people summon a fiend without realizing it until too late, and different places have their own ideas about how to deal with those people. Most undead are animated by sorrowsworn which are also considered “more or less” fiends, so the same rule applies to undead raising.
Likewise, use of mind affecting spells are likely to require you to explain to a judge why it was necessary, unless it was an obvious case of defense of self or another.
Other than those broad ones, there are lots of magic that one country or another might seriously dislike due to culture. One might denigrate divination because it shows distrust in fate and the divine, while another honors it because it’s always best to be prepared, for instance. It’s a case by case basis whether any of these are outlawed.
For a specific place: Vanalesse heavily persecutes divine and pact caster, and censures primal casters. They see it as the divine “coddling” mortals and giving them what they don’t deserve, brought about by the founding belief that the original Vanalessians were descended from demigods and can one day ascend by force.