# Federated credentials is unable to find any object id

**URL:** <https://discuss.hashicorp.com/t/federated-credentials-is-unable-to-find-any-object-id/54103>\
**Category:** Azure\
**Created:** [May 23, 2023, 12:27pm UTC](https://discuss.hashicorp.com/t/federated-credentials-is-unable-to-find-any-object-id/54103 "2023-05-23T12:27:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![smartaquarius10](https://sea2.discourse-cdn.com/hashicorp/user_avatar/discuss.hashicorp.com/smartaquarius10/32/12693_2.png) [@smartaquarius10](https://discuss.hashicorp.com/u/smartaquarius10)\
**Post date:** [May 23, 2023, 12:27pm UTC](https://discuss.hashicorp.com/t/federated-credentials-is-unable-to-find-any-object-id/54103/1 "2023-05-23T12:27:21Z")

</div>

Hello,

with **azuread\_application\_federated\_identity\_credential** we are always getting this error

> Application with object ID “xxxxxxxxxxxxxxx” was not found

I have also asked for some [help here](https://github.com/hashicorp/terraform-provider-azuread/issues/1106) on terraform github but none of the approach is working.

Any suggestions please

---

<div class="post-metadata">

**Author:** ![maxb](https://sea2.discourse-cdn.com/hashicorp/user_avatar/discuss.hashicorp.com/maxb/32/26655_2.png) [@maxb](https://discuss.hashicorp.com/u/maxb)\
**Post date:** [May 23, 2023, 12:31pm UTC](https://discuss.hashicorp.com/t/federated-credentials-is-unable-to-find-any-object-id/54103/2 "2023-05-23T12:31:11Z")

</div>

> [@Guide to asking for help in this forum](https://discuss.hashicorp.com/t/guide-to-asking-for-help-in-this-forum/48571):
>
> Hello! Welcome to the Terraform community forum. wave There are a few different categories in this forum and choosing the most relevant category will increase the chance that you’ll reach someone who is familiar with what you are asking: [Terraform Language and Terraform CLI](https://discuss.hashicorp.com/c/terraform-core/27)[Terraform Cloud and Terraform Enterprise](https://discuss.hashicorp.com/c/terraform-core/terraform-cloud-enterprise/44)[Using Terraform Providers](https://discuss.hashicorp.com/c/terraform-providers/31): if your question is about how to achieve something on a specific cloud platform, rather than a general question about Terraform, this category or one o…

---

<div class="post-metadata">

**Author:** ![smartaquarius10](https://sea2.discourse-cdn.com/hashicorp/user_avatar/discuss.hashicorp.com/smartaquarius10/32/12693_2.png) [@smartaquarius10](https://discuss.hashicorp.com/u/smartaquarius10)\
**Post date:** [May 23, 2023, 12:48pm UTC](https://discuss.hashicorp.com/t/federated-credentials-is-unable-to-find-any-object-id/54103/3 "2023-05-23T12:48:41Z")

</div>

Resolved after using **azurerm\_federated\_identity\_credential**
