GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Export result additional options do not accept more than option at the moment · Issue #1393 · microsoftgraph/msgraph-sdk-python

Export result additional options do not accept more than option at the moment #1393

New issue
Copy link
New issue
Copy link
Open
Open
Export result additional options do not accept more than option at the moment#1393
Copy link
Labels
type:bugA broken experienceA broken experiencetype:investigationInvestigation work, output should be a document detailing findings or a prototypeInvestigation work, output should be a document detailing findings or a prototype

Description

@priyankarani
priyankarani
opened on Nov 25, 2025
Issue body actions

Describe the bug

request_body = ExportResultPostRequestBody(
	display_name = "Export 4",
	export_criteria = ExportCriteria.PartiallyIndexed,
	export_location = ExportLocation.ResponsiveLocations | ExportLocation.NonresponsiveLocations,
	additional_options = AdditionalOptions.AdvancedIndexing | AdditionalOptions.SubfolderContents | AdditionalOptions.AllItemsInFolder | AdditionalOptions.ListAttachments | AdditionalOptions.TeamsAndYammerConversations | AdditionalOptions.HtmlTranscripts | AdditionalOptions.CloudAttachments | AdditionalOptions.IncludeFolderAndPath | AdditionalOptions.SplitSource | AdditionalOptions.CondensePaths | AdditionalOptions.FriendlyName | AdditionalOptions.IncludeReport,
	export_format = ExportFormat.Eml,
)

Looking to set multiple options to additional options here

Expected behavior

request_body = ExportResultPostRequestBody(
	display_name = "Export 4",
	export_criteria = ExportCriteria.PartiallyIndexed,
	export_location = ExportLocation.ResponsiveLocations | ExportLocation.NonresponsiveLocations,
	additional_options = [AdditionalOptions.AdvancedIndexing, AdditionalOptions.SubfolderContents , AdditionalOptions.AllItemsInFolder],
	export_format = ExportFormat.Eml,
)

How to reproduce

just try setting more than 2 options, it will not work. But works for single option

SDK Version

msgraph-beta-sdk 1.48.0

Latest version known to work for scenario above?

No response

Known Workarounds

No response

Debug output

Click to expand log ```
</details>


### Configuration

_No response_

### Other information

_No response_

Activity

  1. priyankarani
    added
    status:waiting-for-triageAn issue that is yet to be reviewed or assignedAn issue that is yet to be reviewed or assigned
    type:bugA broken experienceA broken experience
    on Nov 25, 2025
  2. hinchliff commented on Dec 4, 2025

    @hinchliff
    Alan Hinchliff (hinchliff)
    on Dec 4, 2025
    More actions

    i was just running into the same thing, that all of these Enums are not Flag enums.

    but you can set them as strings like this

    additional_options = ",".join(
                [
                    "splitSource",  # Organize data from different locations into separate folders or PSTs.
                    "includeFolderAndPath",  # Include the folder and path structure of the source.
                    "condensePaths",  # Shorten file paths to fit within 1,024 characters.
                    "friendlyName",  # Give each item a friendly name.
                ]
            )

    and .... well, i think that works.

  3. priyankarani commented on Dec 5, 2025

    @priyankarani
    priyankarani
    on Dec 5, 2025
    Author
    More actions

    No even that didn't work for me. I had already tried that way before posting here, forgot to mention.

  4. hinchliff commented on Dec 15, 2025

    @hinchliff
    Alan Hinchliff (hinchliff)
    on Dec 15, 2025
    More actions

    fyi, i finally got this to work with:

    request_body = ExportResultPostRequestBody(
    	display_name = "Export 4",
    	export_criteria = ExportCriteria.SearchHits, # might be license issues with partially indexed?
    	export_location = [ExportLocation.ResponsiveLocations],
    	additional_options = [AdditionalOptions.SplitSource, AdditionalOptions.IncludeFolderAndPath, AdditionalOptions.CondensePaths, AdditionalOptions.FriendlyName],
    	export_format = ExportFormat.Pst,
            document_version = DocumentVersion.Latest,
    )
  5. Ramses Sanchez-Hernandez (ramsessanchez)
    added
    type:investigationInvestigation work, output should be a document detailing findings or a prototypeInvestigation work, output should be a document detailing findings or a prototype
    and removed
    status:waiting-for-triageAn issue that is yet to be reviewed or assignedAn issue that is yet to be reviewed or assigned
    on Apr 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    type:bugA broken experienceA broken experiencetype:investigationInvestigation work, output should be a document detailing findings or a prototypeInvestigation work, output should be a document detailing findings or a prototype

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402503 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.