azure-active-directory

Send Azure Blob Storage event notifications to Event Hubs on another account

对着背影说爱祢 提交于 2020-06-12 15:33:59
问题 In Azure, I'm trying to send event notifications from a Storage Account in one Active Directory to an Event Hub in another Active Directory. I'm having trouble figuring out how to share/link the resource. In AWS, I was able to accomplish this by creating a role in the receiver account, adding the source account by ID, adding the SQS Writer resource permission, and adding the SQS Queue ARN as the bucket notification destination. I'm guessing something similar is possible in Azure.. At the

Send Azure Blob Storage event notifications to Event Hubs on another account

怎甘沉沦 提交于 2020-06-12 15:26:14
问题 In Azure, I'm trying to send event notifications from a Storage Account in one Active Directory to an Event Hub in another Active Directory. I'm having trouble figuring out how to share/link the resource. In AWS, I was able to accomplish this by creating a role in the receiver account, adding the source account by ID, adding the SQS Writer resource permission, and adding the SQS Queue ARN as the bucket notification destination. I'm guessing something similar is possible in Azure.. At the

Find the “Shared with me” Folder Id (Drive Id) and Files Id - OneDrive, Microsoft Graph, Python

你离开我真会死。 提交于 2020-06-09 05:29:17
问题 My clients shared some onedrive folder with me which contains 5 Files, I want to find the drive-Id, File-Id, so that I can download using python scripts, Script reference: Not able to download files from inside folder, OneDrive, Microsoft Graph, Python I am trying below script: requests.get('https://graph.microsoft.com/v1.0/me/drive/sharedWithMe', headers={'Authorization': 'Bearer ' + Access_Token}).content requests.get('https://graph.microsoft.com/v1.0/me/drives', headers={'Authorization':

Find the “Shared with me” Folder Id (Drive Id) and Files Id - OneDrive, Microsoft Graph, Python

北战南征 提交于 2020-06-09 05:28:07
问题 My clients shared some onedrive folder with me which contains 5 Files, I want to find the drive-Id, File-Id, so that I can download using python scripts, Script reference: Not able to download files from inside folder, OneDrive, Microsoft Graph, Python I am trying below script: requests.get('https://graph.microsoft.com/v1.0/me/drive/sharedWithMe', headers={'Authorization': 'Bearer ' + Access_Token}).content requests.get('https://graph.microsoft.com/v1.0/me/drives', headers={'Authorization':

How to get clientID of azure active directory if username & password in Python

社会主义新天地 提交于 2020-06-01 05:12:12
问题 As the title, I need to get the client ID of the active azure directory for performing file transfer between linux & onedrive. Is there any API for this. 回答1: You can't use username & password to create or get the client id. There is no connection between user credentials and client id. You should get the client id by creating an Azure AD app. You can see "appId": "631a96bc-a705-4eda-9f99-fdaf9f54f6a2", in the response. appId is the client id. You can also get the client id form an existing

AD additional attribute synced to AAD extension attribute not showing up on AAD user object

寵の児 提交于 2020-05-30 09:01:51
问题 Can someone please help me with the following, thanks in advance I setup AD Connect in a LAB and my LAB Active Directory users are syncing OK to my LAB Azure AD I then went through the Azure AD Connect setup wizard a second time to sync 'custom sync options' and chose 'Directory Extension Attribute Sync' and chose to sync two additional attributes (for testing), I chose the Active Directory attributes 'adminCount' and 'carLicense' I have a domain admin user called Craig who has his adminCount

Active Directory(AD) Authentication in Azure Sql not working

倾然丶 夕夏残阳落幕 提交于 2020-05-29 04:42:26
问题 I am trying to get Azure AD Authentication working against my Azure SQL Database. I created a PaaS database and it's associated PaaS Sql Server. I assigned MY Azure AD account as "Active Directory admin" of the "PaaS Sql Server". Next, I logged in to SSMS using MY domain account to create the user: CREATE USER [xxx@yyy.com] FROM EXTERNAL PROVIDER; GO sp_addrolemember db_datareader, [xxx@yyy.com]; GO sp_addrolemember db_datawriter, [xxx@yyy.com]; GO When I attempt to login with the xxxxx@yyy

Active Directory(AD) Authentication in Azure Sql not working

可紊 提交于 2020-05-29 04:42:06
问题 I am trying to get Azure AD Authentication working against my Azure SQL Database. I created a PaaS database and it's associated PaaS Sql Server. I assigned MY Azure AD account as "Active Directory admin" of the "PaaS Sql Server". Next, I logged in to SSMS using MY domain account to create the user: CREATE USER [xxx@yyy.com] FROM EXTERNAL PROVIDER; GO sp_addrolemember db_datareader, [xxx@yyy.com]; GO sp_addrolemember db_datawriter, [xxx@yyy.com]; GO When I attempt to login with the xxxxx@yyy

Unable to access the access code and refresh token of AAD Microsoft App

情到浓时终转凉″ 提交于 2020-05-17 07:03:20
问题 I'm trying to automate the file transfer between one drive and Linux. Hence I need to generate the access token and refresh token. My POST URL is https://login.microsoftonline.com/common/oauth2/v2.0/token?grant_type='authorization_code'&client_id=XXXXXXXXXXXXXX&code=XXXXXXXXXXXXX getting below error as below { "error": "invalid_request", "error_description": "AADSTS9001442323: The request body must contain the following parameter: 'grant_type'.\r\nTrace ID: 55c2b449-381b-41844ads5a2f-b2b7

Avoid verification code emails when the user is not registered in Azure AD B2C

孤街醉人 提交于 2020-05-17 06:31:51
问题 Azure B2C is gives a false impression that the user is in the directory when they try to reset their password. Following is steps in reset password: 1) User clicks the Reset Password link 2) B2C presents a page with “Email Address” field and says “Verification is necessary. Please click Send button.” 3) User enters his email address and clicks “Send Verification Code” 4) B2C sends the verification code this that email address (Even if no user is associated with that email address. This is