Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

function capacity 4096 has been exceeded for this scope when importing Microsoft.Graph to AA in 5.1 runtime #1449

Closed
silentmark opened this issue Aug 10, 2022 · 3 comments

Comments

@silentmark
Copy link

Hi,

i couldn't find anywhere similar issue. I cannot import Microsoft.Graph module into Azure Automation account using runtime 5.1, when importing with preview 7.1 runtime, the import is successful (as there is no variable limit), however there is no version information for this module, instead there is only: "WARNING: Selecte" written . The full error message is listed below.

Not sure if there is anything that can be done on msgraph-sdk-powershell side.

Error importing the module Microsoft.Graph. Import failed with the following error: Orchestrator.Shared.AsyncModuleImport.ModuleImportException: While importing the module, an error occurred while processing the module content. Internal error message: Function Update-MgShareListContentTypeColumnLink cannot be created because function capacity 4096 has been exceeded for this scope.. at Orchestrator.Activities.SetModuleVersion.ExecuteInternal(CodeActivityContext context, String moduleName, ModuleLanguage moduleLanguage, String pythonModuleVersion, String modulePath, Guid accountId, Guid moduleVersionId, Int64 moduleContentByteSize, String storageUri, Int32 moduleVersion) at Orchestrator.Activities.SetModuleVersion.Execute(CodeActivityContext context) at System.Activities.CodeActivity.InternalExecute(ActivityInstance instance, ActivityExecutor executor, BookmarkManager bookmarkManager) at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor, BookmarkManager bookmarkManager, Location resultLocation)

@ghost ghost added the ToTriage label Aug 10, 2022
@ghost ghost added this to Issues to triage in Graph SDK - Triage Aug 10, 2022
@peombwa
Copy link
Member

peombwa commented Aug 12, 2022

@silentmark, this is a known Windows PowerShell 5.1 limitation that was resolved in PowerShell core.

Your options are:

@peombwa
Copy link
Member

peombwa commented Aug 12, 2022

Closing as duplicate of #1186.

@peombwa peombwa closed this as completed Aug 12, 2022
Graph SDK - Triage automation moved this from Issues to triage to Closed Aug 12, 2022
@RyanHill-MSFT
Copy link

@peombwa just an FYI that this is still an issue for some folks. Please see https://docs.microsoft.com/en-us/answers/questions/964238/index.html.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Development

No branches or pull requests

3 participants