However after I added the Microsoft 365 activity, the redaction plug in activity stopped working and says ambiguous namespace for Directory, System.IO, Microsoft Graph
I have tried adding Qualified Names - system.io.Directory etc to all of the invoke files in the package code but it is still showing the error when I run. Has anyone got a solution for this? or is there some way the graph namespace doesnt get passed to the activity?
I am trying to fix the activity, I have added qualified names but it still throws the error, I was curious if there was any other suggestions or if anyone had fixed this before
@Gemma_Walker
Both namespace ‘System.IO’ and ‘Microsoft.Graph’ have the same method ‘Directory’.
I believe some of the Microsoft 365 activities using namespace ‘Microsoft.Graph’.
Try searching the ‘Directory’ then replace it to ‘System.IO.Directory’ should work.
Thank you, I was trying that but it kept still giving me the error, turns out the activity UI that was in my workflow was for the older version of the package and not the newer one, changed that and some other errors and it worked!
If you’re still getting the error, you missed something. Adding the System.IO is the solution for this. I’m talking about fixing the code inside the DU Redaction Plugin activity, if the activity is what’s throwing the exception.