Code Monkey home page Code Monkey logo

aadgraphpowershell's People

Contributors

dushyantgill avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

aadgraphpowershell's Issues

Getting Non-Default Attributes/Properties

I see in AADGraphUser.psm1, this is the backbone of the Get-AADUser function:

 Get-AADObject -Type "users"

However, the attribute I'm interested in (thumbnailPhoto) doesn't seem to be included by default.

With Get-ADUser, I would use the "-Properties" parameter to include the thumbnailPhoto attribute:

 Get-ADUser "matt.wilson" -Properties thumbnailPhoto

Is there a similar method we can use to achieve the same result with AADGraph? NOTE: Keep in mind that once I'm able to GET the thumbnailPhoto attribute, I'll next want to be able to SET it. ;-)

Thanks for your help!
Matt

Cannot Import Module - Manifest contains one or more members that are not valid

I'm not very familiar with GitHub, and I'm pretty decent with PowerShell. I didn't see a Wiki, so I started by simply downloading the project as a ZIP, then running .\Install-AADGraphModule.ps1.

I received the following output:

PoSh T:\Scripts\O365\AADGraphPowerShell> .\Install-AADGraphModule.ps1
Creating module directory under C:\Users\matt.wilson\Documents\WindowsPowerShell\Modules
Installing Active Directory Authentication Library Nuget in C:\Users\matt.wilson\Documents\WindowsPowerShell\Modules\AA
DGraph\Nugets
Downloading nuget.exe from http://www.nuget.org/nuget.exe
Copying module files to the module directory
Import-Module : The 'C:\Users\matt.wilson\Documents\WindowsPowerShell\Modules\AADGraph\AADGraph.psd1' module cannot be
imported because its manifest contains one or more members that are not valid. The valid manifest members are ('ModuleT
oProcess', 'NestedModules', 'GUID', 'Author', 'CompanyName', 'Copyright', 'ModuleVersion', 'Description', 'PowerShellVe
rsion', 'PowerShellHostName', 'PowerShellHostVersion', 'CLRVersion', 'DotNetFrameworkVersion', 'ProcessorArchitecture',
'RequiredModules', 'TypesToProcess', 'FormatsToProcess', 'ScriptsToProcess', 'PrivateData', 'RequiredAssemblies', 'Mod
uleList', 'FileList', 'FunctionsToExport', 'VariablesToExport', 'AliasesToExport', 'CmdletsToExport'). Remove the membe
rs that are not valid ('RootModule'), then try to import the module again.
At T:\Scripts\O365\AADGraphPowerShell\Install-AADGraphModule.ps1:28 char:14

  • Import-Module <<<< AADGraph
    • CategoryInfo : InvalidData: (C:\Users\matt.w...h\AADGraph.psd1:String) [Import-Module], InvalidOperatio
      nException
    • FullyQualifiedErrorId : Modules_InvalidManifestMember,Microsoft.PowerShell.Commands.ImportModuleCommand

I'll continue to review the project and look for install tips/pre-reqs, but any info you can provide would be helpful and greatly appreciated.

I'm hoping this project can help me manipulate our thumbnailPhoto attributes in Azure AD much like the Import-RecipientDataProperty and Export-RecipientDataProperty EMS cmdlets. Thoughts on that task would be appreciated, too.

Matt

Error during Install-AADGraphModule.ps1 - Unable to find package 'Microsoft.IdentityModel.Clients.ActiveDirectory'.

Executing Install-AADGraphModule.ps1 throws following error.

Downloading nuget.exe from http://www.nuget.org/nuget.exe
Unable to find package 'Microsoft.IdentityModel.Clients.ActiveDirectory'.
Copying module files to the module directory
WARNING: The names of some imported commands from the module 'AADGraph' include unapproved verbs
that might make them less discoverable. To find the commands with unapproved verbs, run the
Import-Module command again with the Verbose parameter. For a list of approved verbs, type
Get-Verb.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.