Team Activities

Showing Ambiguous Error, while using the
1.Directory.GetFile() - imported from the namespaces or types ‘Microsoft.Graph, System.IO’
2.Team Visibility as Private showing an"TeamVisibilityType.Private", ‘TeamVisibilityType’ is ambiguous in the namespace ‘Microsoft.Graph’.
How to solve the error?

@Ganesh_Kumar_Ramacha - pls try to add namespace like - System.IO.Directory.GetFile()