App Registration
6 TopicsError creating Azure BOT: Failed to store new BOT
SCENARIO You are trying to create Azure BOT where you are already provided with an existing App registration. After adding relevant details, validation is passed however, the BOT fails to create with Internal Server error. CAUSE This error usually comes up if we are using the same APP ID which is already registered with another Azure BOT resource. { "status": "Failed", "error": { "code": "UnknownError", "message": "Failed to store new bot." } } RESOLUTION Azure BOT requires one to one mapping with the app registration. You can only have one BOT mapped to one App ID. Hence recommendation is to use single app registration for every BOT resource we create.357Views1like1CommentUpload files to onedrive personal using python on non-interactive method
As part of my python project, I need to upload a file to onedrive personal folder non-interactive way. I have created an app registration in Azure provided below API permissions: Account Type: Accounts in any organizational directory (Any Microsoft Entra ID tenant - Multitenant) and personal Microsoft accounts (e.g. Skype, Xbox) API Permissions: Python code: import requests # Replace with your details client_id = 'xxxxxx' client_secret = 'xxxxx' tenant_id = 'xxxxx' filename = 'C:/ABB_2025-01-13.csv' onedrive_folder = 'CloudOnly/test' user_id = 'c19d6ba9-e7d1-xxxxx-xxxxxx' # Get the access token url = f'https://login.microsoftonline.com/{tenant_id}/oauth2/v2.0/token' data = { 'grant_type': 'client_credentials', 'client_id': client_id, 'client_secret': client_secret, 'scope': 'https://graph.microsoft.com/.default' } response = requests.post(url, data=data) token = response.json().get('access_token') # Upload the file to OneDrive headers = { 'Authorization': f'Bearer {token}', 'Content-Type': 'application/octet-stream' } file_content = open(filename, 'rb').read() upload_url = f'https://graph.microsoft.com/v1.0/users/{user_id}/drive/root:/{onedrive_folder}/{filename.split("/")[-1]}:/content' upload_response = requests.put(upload_url, headers=headers, data=file_content) if upload_response.status_code == 201: print('File uploaded successfully!') else: print('Error uploading file:', upload_response.json()) Error: Error uploading file: {'error': {'code': 'BadRequest', 'message': 'Tenant does not have a SPO license.', 'innerError': {'date': '2025-01-14T02:15:47', 'request-id': 'cf70193e-1723-44db-9f5e-xxxxxxx', 'client-request-id': 'cf70193e-1723-44db-9f5e-xxxxxxx'}}} How to resolve this ?166Views0likes0CommentsAudit user accessing entreprise App by SPN sign-in
I'm in a Hybrid Entra ID environment. Some users can use an "Entreprise Application" by utilizing IDs and a certificate. In the activity or sign-in logs, I can find the access entries, but I don't have the information on which user used the app registration or which certificate was used. I would like to have logs that allow me to identify WHO is using an SPN/App registration. Do you have any ideas? Thank you. Here an example: In this screenshot, I can see access made to an app using, for example, an appid+secret/certificate connection. So, it’s "logical" not to see a username since it's not required for this type of connection. However, I would really like to have this information or some indicator to identify which of my users accessed it. Currently, I only have the machine's IP address, but I would like more information. Maybe in Purview or with another service, but I haven't found anything.225Views0likes3CommentsCreate a SaaS Offer for FileHandler App registration confirmation
Recently I have researched to develop FileHandler Add-In in App registration. I want to publish a SaaS offering to the marketplace (App Source) for my app registration. Or at least we can publish it to gallery Microsoft Entra Gallery. But, I see that Microsoft isn't onboarding new applications to Microsoft Entra gallery in FY25 (Ref: https://learn.microsoft.com/en-us/entra/identity/enterprise-apps/v2-howto-app-gallery-listing#submit-your-application) For publishing a SaaS offering, Does Microsoft allow us to publish a SaaS offering for App registration in 2024 and 2025? I didn't find any documentation about such restrictions like publishing to Microsoft Entra Gallery. Please help me confirm this.277Views0likes0CommentsCan't update the app registration for my teams app
I need to change the EntraID app registration manifest in order to change the signInAudience property. When I try to save the manifest, I get the following error: "Failed to update XXX application. Error detail: No other properties may be modified when certification properties are being modified." Which certification is meant here? The last update of the teams app referencing the app registration was months ago so there shouldn't be an ongoing certification at the moment.1.7KViews0likes11CommentsReport Message Add-In & App Registration creation in AAD App Registrations
Dear all, I'd like to ask regarding the automatic creation of an App Registration in Azure AD, once you enable the Report Message Add-In on the Microsoft 365 Admin Center. It seems that when you deploy the specific Add-In a new App Registration is created, titled "Report Message". What is the purpose of this App Registration and why is it created? Thank you for your time.761Views0likes2Comments