{"id":26822608,"url":"https://github.com/newoceaninfosys/powerbiapi","last_synced_at":"2026-05-05T21:36:57.039Z","repository":{"id":183445205,"uuid":"90707531","full_name":"newoceaninfosys/powerbiapi","owner":"newoceaninfosys","description":null,"archived":false,"fork":false,"pushed_at":"2017-05-09T08:20:27.000Z","size":2181,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2023-07-24T14:22:15.619Z","etag":null,"topics":["angularjs","azure","azure-active-directory","csharp","office365","powerbi","visual-studio"],"latest_commit_sha":null,"homepage":"http://www.newoceaninfosys.com","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/newoceaninfosys.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2017-05-09T05:54:10.000Z","updated_at":"2023-07-24T14:22:31.166Z","dependencies_parsed_at":"2023-07-24T14:22:27.762Z","dependency_job_id":"b56136f8-051c-4e36-bfaf-6b23ccac00d0","html_url":"https://github.com/newoceaninfosys/powerbiapi","commit_stats":null,"previous_names":["newoceaninfosys/powerbiapi"],"tags_count":null,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/newoceaninfosys%2Fpowerbiapi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/newoceaninfosys%2Fpowerbiapi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/newoceaninfosys%2Fpowerbiapi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/newoceaninfosys%2Fpowerbiapi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/newoceaninfosys","download_url":"https://codeload.github.com/newoceaninfosys/powerbiapi/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246291169,"owners_count":20753815,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["angularjs","azure","azure-active-directory","csharp","office365","powerbi","visual-studio"],"created_at":"2025-03-30T08:19:25.169Z","updated_at":"2026-05-05T21:36:51.984Z","avatar_url":"https://github.com/newoceaninfosys.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"PowerBI api project\n----------\n\nMain Feature. There are 5 btn in homepage\n 1. Get list dataset\n 2. Add new dataset\n 3. Push data to table of dataset\n 4. Popular data\n 5. Clear data\n \nFlow (when click one of btn):\n 1. Check access token. If exist go to (2), else go to (4)\n 2. Check access token expired or not. If not expired go to (3), else go to (6)\n 3. Make http request to PoweBI API enpoint, show result to screen\n 4. Redirect user to AD login page. After login success, go to (5)\n 5. Save access token \u0026 refresh token to database. Then go to (3)\n 6. Request new access token from PowerBI, using refresh token. If okay go to (5), else go to (4)\n \nPrepare:\n 1. TenantId -\u003e this is ID of your AD\n 2. ClientID, ClientSecret -\u003e follow this: https://powerbi.microsoft.com/en-us/documentation/powerbi-developer-register-a-client-app/\n 3. Change UseSql in web.config = 0 to use memory local instead sql server\n 4. ConnectionString -\u003e database to store access \u0026 refresh token\n\nTest:\n 1. Go to https://nois-powerbiapi.azurewebsites.net\n 2. Touch Red btn, to Clear AccessToken \u0026 RefreshToken\n 3. Touch any blue btn, login with test@lyminhquan.com / X3wVUbxx\n\nCheck:\n 1. Login to http://app.powerbi.com/ with test@lyminhquan.com / X3wVUbxx\n 2. Check in My Workspaces -\u003e DATASETS\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnewoceaninfosys%2Fpowerbiapi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnewoceaninfosys%2Fpowerbiapi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnewoceaninfosys%2Fpowerbiapi/lists"}