Conjuring shedim is not necessarily forbidden, depending on whether the theologian discussing the topic views such summoning to constitute sorcery. Even if summoning shedim is an act of sorcery and thus forbidden, consulting shedim conjured by a non-Jew would be permissible.
https://en.wikipedia.org/wiki/Shedim
Wikipedia Shedim