## The problem
Issue microsoftgraph/msgraph-sdk-python#457 (closed, 7 comments): Hi, I am developing an application for my company that requires talking to Azure to manage devices. While pulling down the managed devices through this SDK, the program crashes with a **KeyError: 'AndroidEnterpriseDedicatedDevice'** error Here is the code to reproduce: ```python import asyncio from azure.identity.aio import ClientSecretCredential from kiota_abstractions.api_error import APIError from msgraph import GraphServiceClient from msgraph.generated.device_management.managed_devices.managed_devices_request_builder import ( ManagedDevicesRequestBuilder, ) from msgraph.generated.models.gr
## The fix
The KeyError on AndroidEnterpriseDedicatedDevice was solved in the serialization library. Upgrade your msgraph/kiota serialization packages to the latest and the KeyError goes away.
## Notes
Thread: https://github.com/microsoftgraph/msgraph-sdk-python/issues/457. Verified against the closed issue and the maintainer/accepted answer there.