PowerBI Refresh Through Azure Data Factory - azure

I have developed a Pipeline according to the post "https://www.moderndata.ai/2019/05/powerbi-dataset-refresh-using-adf/#comment-2610".
However I keep getting an error "Invoking Web Activity failed with HttpStatusCode - 'Unauthorized', message - '' in the CALL DATASET REFRESH WEB ACTIVITY.
I haven't registered the Security Group for API access using the Service Principals. Could this be causing an issue ?.note(I am not the PowerB admin)
Not sure what is causing this issue.
When I execute the same thing through a Powershell script it works fine. Not sure why it is not working through the azure datafactory.

Just from the error message, you don't have the permission to access/refresh the PowerBI. The post you reference also said you must has the request permission.
Please request for the access and test again.

Related

Unable to post message to Azure Service Bus Queue from Azure API using Managed Identity

I am trying to test out the sample code by azure "Authenticate using Managed Identity to access Service Bus" and its on github:
Azure API Management Policy Snippets
What I have done is in below steps:
Created an Azure API Management Service. In this I added an API which has a POST method
I also enabled a System Generated Managed Identity for this APIM
I created a Service Bus and create a queue
I added the managed identity to a role of "Azure Service Bus Data Sender" on the queue.
Last, I modified the code from azure to have names from objects I created above and it looks like below:
On running a test on API I get error: "500 Internal Server Error". The message of course is not being sent. Any idea what I may be doing wrong here? Help appreciated.
It seems to be issue with your Authorization header and the calling URL. All other steps looks good.
Please find below Policy code snippet which works fine at my end. I am able to send the data to service bus successfully. My operation endpoint is '/messages' with POST method.
I found the issue which is almost what #pankaj has suggested.
I made a mistake when I created a POST operation on the api I created. When we add an operation for an api in azure apim, it asks for a URL also as shown below:
[![Azure API - adding an Operation][1]
The issue was that I added a random text something like "/message".
What this does is, it adds this path to the set-backend-service base-url
As that modified backend url was incorrect, so was the reason for error. I updated it to just a "/" in the POST operation path and the error got resolved.
I then again faced this issue when my request had some query parameters. It was again appending these query parameters to the backend url. To resolve that I added below:
<set-query-parameter name="{{replace-with-query-param}}" exists-action="delete" />
Thank you everyone for trying to help me. Hopefully, this post will be of some help to others
[1]: https://i.stack.imgur.com/Rechc.jpg

There was an error processing a storage extension. change notification API issue - Microsoft graph API

While getting the change notification API subscription ID for resource "/communications/callRecords" it always give the "there was an error processing a storage extension". this is issue always reflected for Application permission
While getting the subscription/{ID} i am getting this error.
Thanks

Azure Logic App - no permission to query subscriptions?

Afternoon all
Trying to get a logic app to run a query on a log analytics workspace and email the results on a weekly basis. Created a service principal, and have given it Reader access at Subscriptions level and I'm allowed to create the connection, but when I try to populate the drop down in Designer, it's throwing with an error:
Could not retrieve values. Error executing the api '/listSubscriptions'. Client request id: 'undefined'
As seen here: https://imgur.com/a/CDp1g6L
I was following this guide, and it's failing to populate those list boxes:
https://thomasthornton.cloud/2020/11/09/log-analytics-queries-to-csv-emailed-using-azure-logic-apps
Tried temporarily giving it permissions as subscription Owner, same deal. Also the same error with the logic app's own System Managed Identity. Got it to work in a different subscription by using my global admin ID, but I don't want to do that as it's of course dependent on that account and it's way too privileged.
I also tried editing in the correct values in code view, just in case it was only some enumeration error, but the test run fails with:
"Message": "Failed to get valid request parameters. Authorization Error
In my other subscription, I also tried giving the account permissions at the root Tenant level, in case it was purely unable to evaluate all subscriptions, but no joy, same error when using Managed Identities or Service Principals.
I'm at a loss. Any ideas?

Azure login Error at work - Getting Error fetching tenants message - proxy settings?

When i login to portal.azure.com from my work network , i get the following error message in the notification
'Error fetching tenants'
'There was an error fetching tenants. Please reload the portal to try again.'
The portal does list the resource's e.g. storage. However on clicking any, it show 'Unexpected error'
Additional Details on the error:
On F12, i see the following calls failed
https://management.azure.com/batch?api-version=2015-11-01
https://s2.billing.ext.azure.com/api/Billing/RemainingCredits
I tried with chrome, Internet explorer and fire-fox
Do i need to request admin's to grant any specific access?
I have a 'Visual Studio Professional Subscription'. if i login from home pc, it works. Kindoff limiting exploring azure for work
I am not sure why all other azure posted from azure portal work except a few key once

Azure Application Insight Work items authorization error

My purpose is to create bug in Azure DevOps directly from Azure Application Insight, I am doing to attach the work item (bug) feature available in Azure Application Insight but on clicking Authorize button it give me following error
Authorization token provided through OAuth does not have access to read/write work items for requested uri/project collection/project
for reference please find the below image.
Updates:
I didnt understand what you meant by private browser, and I have full admin access over Azure Portal.
basically I have the https://dev.azure.com/HealthTechnologies/ReportItNow link in which
https://dev.azure.com is the devop url
HealthTechnologies is the organization
ReportItNow is the Project
so in Azure insight workitem section, URL I am putting https://dev.azure.com/HealthTechnologies/ and in project I am putting ReportItNow, I dont know what i am doing wrong.
Still waiting for this glitch to solve.
Oky let me make it more simple, if I want to automatically create bug in Azure DevOps when ever any new exception came in to the Azure
Application Insight How I can get this into real practical.
I solve this when I took a detailed look at the error message url. It's saying that the missing authorization is for https://uri/Project Collection/Project. Based on that, I changed my url from https://dev.azure.com/organization to https://dev.azure.com/ and it worked,

Resources