Skip to content

Enable cmdlets to access to non-json responses  #182

Closed

Description

@darrelmiller

Need to access user Photos, reports, files, mail attachments, OneNote pages, etc.

AB#4643

Activity

  1. added this to the 0.7.0 milestone on Apr 29, 2020
  2. peombwa commented on May 14, 2020

    @peombwa
    Member

    Related to #166, #190, #222

  3. soroshsabz commented on May 15, 2020

    @soroshsabz

    Darrel (@darrelmiller) Did you mean we cannot download attachment file with Get-MgUserMessageAttachment ?

  4. peombwa commented on Nov 11, 2020

    @peombwa
    Member

    Closing since downloading of files was fixed in 1.1.0. The only open item is downloading of reports which is being tracked by #190

  5. fagalliu commented on May 29, 2021

    @fagalliu

    Closing since downloading of files was fixed in 1.1.0. The only open item is downloading of reports which is being tracked by #190

    Hi peombwa,

    Can you help me how to download files attached to a mailbox?
    I am trying with Out-File, the file donwloads but then it doesnt open and gives a message that the file has to be decoded.
    I tried to decode with this comand but no success:

    [System.Text.Encoding]::UTF8.GetString([System.Convert]::FromBase64String("$contentBytes")) | Out-File ".$name"

    Can you help me please?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions