https://pulumi.com logo
Title
g

gentle-camera-53119

06/13/2022, 1:45 PM
Hi Team, I am trying to create Azure Service principles in C# but I am getting this error
error CS0234: The type or namespace name 'AzureAD' does not exist in the namespace 'Pulumi' (are you missing an assembly reference?) [/Users/XXXXX/XXX/pulumi/cazure/cazure.csproj
Any help on this please?
I tried to import existing resource as well, and getting the same error
t

tall-librarian-49374

06/13/2022, 2:00 PM
You need to reference AzureAD - it’s a separate provider with a separate SDK
g

gentle-camera-53119

06/13/2022, 2:00 PM
You mean this ``using AzureAD = Pulumi.AzureAD;` ? I tried with this but still failing
t

tall-librarian-49374

06/13/2022, 2:02 PM
I mean add a reference to the assembly
Pulumi.AzureAD
(NuGet package)
👀 1
g

gentle-camera-53119

06/13/2022, 2:06 PM
You are awesome, it is working. Thank you very much for your help
I am a newbie in C# development. If you have any references to create pulumi components, please share with me. (I checked pulumi documentation but din quite get it)